detect-node : Detect Node.JS (as opposite to browser environment) (reliable). You can installing detect-node 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 detect-node $ sudo npm install -g detect-node
If want to update the detect-node package execute the command as below,
$ sudo npm update detect-node
Update package globally,
$ npm install -g detect-node
$ sudo git clone https://github.com/rektide/detect-node.git
$ sudo npm install -g ./detect-node
detect-node@2.0.3 /usr/lib/node_modules/detect-node
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall detect-node
Package Name | detect-node |
Version | 2.0.3 |
Description | Detect Node.JS (as opposite to browser environment) (reliable) |
Released Date | 2014-08-01T16:28:40.851Z |
Published by | iliakan |
How to Learn | https://www.npmjs.com/package/detect-node/tutorial |