is-in-browser : Simple check to see if current app is running in browser. You can installing is-in-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-in-browser $ sudo npm install -g is-in-browser
If want to update the is-in-browser package execute the command as below,
$ sudo npm update is-in-browser
Update package globally,
$ npm install -g is-in-browser
$ sudo git clone https://github.com/rektide/is-in-browser.git
$ sudo npm install -g ./is-in-browser
is-in-browser@1.1.3 /usr/lib/node_modules/is-in-browser
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-in-browser
Package Name | is-in-browser |
Version | 1.1.3 |
Description | Simple check to see if current app is running in browser |
Released Date | 2017-01-15T05:26:43.126Z |
Published by | tuxsudo |
How to Learn | https://www.npmjs.com/package/is-in-browser/tutorial |