How to Install nat-upnp NPM Packages on Ubuntu / Debian

How to Install nat-upnp software package in NPM Packages

nat-upnp : Port mapping via UPnP APIs. You can installing nat-upnp 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 nat-upnp
$ sudo npm install -g nat-upnp

If want to update the nat-upnp package execute the command as below,

$ sudo npm update nat-upnp

Update package globally,

$ npm install -g nat-upnp

Git clone:

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

nat-upnp@1.1.1 /usr/lib/node_modules/nat-upnp

How to remove nat-upnp package :

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

$ sudo npm uninstall nat-upnp

Basic Information of nat-upnp NPM Package:

Package Name nat-upnp
Version 1.1.1
Description Port mapping via UPnP APIs
Released Date 2017-11-21T15:13:48.254Z
Published by indutny
How to Learn https://www.npmjs.com/package/nat-upnp/tutorial