is-browser : Test whether youre a component in browser or a package in npm. You can installing is-browser 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 is-browser $ sudo npm install -g is-browser
If want to update the is-browser package execute the command as below,
$ sudo npm update is-browser
Update package globally,
$ npm install -g is-browser
$ sudo git clone https://github.com/rektide/is-browser.git
$ sudo npm install -g ./is-browser
is-browser@2.0.1 /usr/lib/node_modules/is-browser
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-browser
| Package Name | is-browser |
| Version | 2.0.1 |
| Description | Test whether youre a component in browser or a package in npm |
| Released Date | 2014-07-25T13:42:35.922Z |
| Published by | forbeslindesay |
| How to Learn | https://www.npmjs.com/package/is-browser/tutorial |