How to Install pg.js NPM Packages on Ubuntu / Debian

How to Install pg.js software package in NPM Packages

pg.js : node-postgres without the bindings. You can installing pg.js 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.js
$ sudo npm install -g pg.js

If want to update the pg.js package execute the command as below,

$ sudo npm update pg.js

Update package globally,

$ npm install -g pg.js

Git clone:

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

pg.js@4.1.1 /usr/lib/node_modules/pg.js

How to remove pg.js package :

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

$ sudo npm uninstall pg.js

Basic Information of pg.js NPM Package:

Package Name pg.js
Version 4.1.1
Description node-postgres without the bindings
Released Date 2014-12-13T18:49:08.082Z
Published by brianc
How to Learn https://www.npmjs.com/package/pg.js/tutorial