detect-port : detect available port. You can installing detect-port 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-port $ sudo npm install -g detect-port
If want to update the detect-port package execute the command as below,
$ sudo npm update detect-port
Update package globally,
$ npm install -g detect-port
$ sudo git clone https://github.com/rektide/detect-port.git
$ sudo npm install -g ./detect-port
detect-port@1.2.2 /usr/lib/node_modules/detect-port
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall detect-port
Package Name | detect-port |
Version | 1.2.2 |
Description | detect available port |
Released Date | 2017-11-05T17:10:27.738Z |
Published by | xudafeng |
How to Learn | https://www.npmjs.com/package/detect-port/tutorial |