How to Install pn NPM Packages on Ubuntu / Debian

How to Install pn software package in NPM Packages

pn : Promisify the node standard library.. You can installing pn 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 pn
$ sudo npm install -g pn

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

$ sudo npm update pn

Update package globally,

$ npm install -g pn

Git clone:

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

pn@1.0.0 /usr/lib/node_modules/pn

How to remove pn package :

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

$ sudo npm uninstall pn

Basic Information of pn NPM Package:

Package Name pn
Version 1.0.0
Description Promisify the node standard library.
Released Date 2015-10-27T20:38:35.850Z
Published by cscott
How to Learn https://www.npmjs.com/package/pn/tutorial