How to Install screenfull NPM Packages on Ubuntu / Debian

How to Install screenfull software package in NPM Packages

screenfull : Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen.. You can installing screenfull npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install screenfull
$ sudo npm install -g screenfull

If want to update the screenfull package execute the command as below,

$ sudo npm update screenfull

Update package globally,

$ npm install -g screenfull

Git clone:

$ sudo  git clone https://github.com/rektide/screenfull.git
$ sudo  npm install -g ./screenfull

screenfull@3.3.2 /usr/lib/node_modules/screenfull

How to remove screenfull package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall screenfull

Basic Information of screenfull NPM Package:

Package Name screenfull
Version 3.3.2
Description Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen.
Released Date 2017-10-27T04:46:52.015Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/screenfull/tutorial