How to Install pg-promise NPM Packages on Ubuntu / Debian

How to Install pg-promise software package in NPM Packages

pg-promise : Promises interface for PostgreSQL. You can installing pg-promise 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 pg-promise
$ sudo npm install -g pg-promise

If want to update the pg-promise package execute the command as below,

$ sudo npm update pg-promise

Update package globally,

$ npm install -g pg-promise

Git clone:

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

pg-promise@7.3.2 /usr/lib/node_modules/pg-promise

How to remove pg-promise package :

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

$ sudo npm uninstall pg-promise

Basic Information of pg-promise NPM Package:

Package Name pg-promise
Version 7.3.2
Description Promises interface for PostgreSQL
Released Date 2017-11-18T20:46:39.102Z
Published by vitaly.tomilov
How to Learn https://www.npmjs.com/package/pg-promise/tutorial