How to Install chai-http NPM Packages on Ubuntu / Debian

How to Install chai-http software package in NPM Packages

chai-http : Extend Chai Assertion library with tests for http apis. You can installing chai-http 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 chai-http
$ sudo npm install -g chai-http

If want to update the chai-http package execute the command as below,

$ sudo npm update chai-http

Update package globally,

$ npm install -g chai-http

Git clone:

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

chai-http@3.0.0 /usr/lib/node_modules/chai-http

How to remove chai-http package :

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

$ sudo npm uninstall chai-http

Basic Information of chai-http NPM Package:

Package Name chai-http
Version 3.0.0
Description Extend Chai Assertion library with tests for http apis
Released Date 2016-06-10T14:53:46.445Z
Published by chaijs
How to Learn https://www.npmjs.com/package/chai-http/tutorial