How to Install portfinder NPM Packages on Ubuntu / Debian

How to Install portfinder software package in NPM Packages

portfinder : A simple tool to find an open port on the current machine. You can installing portfinder 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 portfinder
$ sudo npm install -g portfinder

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

$ sudo npm update portfinder

Update package globally,

$ npm install -g portfinder

Git clone:

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

portfinder@1.0.13 /usr/lib/node_modules/portfinder

How to remove portfinder package :

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

$ sudo npm uninstall portfinder

Basic Information of portfinder NPM Package:

Package Name portfinder
Version 1.0.13
Description A simple tool to find an open port on the current machine
Released Date 2017-01-31T14:43:01.735Z
Published by eriktrom
How to Learn https://www.npmjs.com/package/portfinder/tutorial