How to Install supertest NPM Packages on Ubuntu / Debian

How to Install supertest software package in NPM Packages

supertest : SuperAgent driven library for testing HTTP servers. You can installing supertest 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 supertest
$ sudo npm install -g supertest

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

$ sudo npm update supertest

Update package globally,

$ npm install -g supertest

Git clone:

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

supertest@3.0.0 /usr/lib/node_modules/supertest

How to remove supertest package :

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

$ sudo npm uninstall supertest

Basic Information of supertest NPM Package:

Package Name supertest
Version 3.0.0
Description SuperAgent driven library for testing HTTP servers
Released Date 2017-01-30T00:22:45.168Z
Published by mikelax
How to Learn https://www.npmjs.com/package/supertest/tutorial