http-assert : assert with status codes. You can installing http-assert 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 http-assert $ sudo npm install -g http-assert
If want to update the http-assert package execute the command as below,
$ sudo npm update http-assert
Update package globally,
$ npm install -g http-assert
$ sudo git clone https://github.com/rektide/http-assert.git
$ sudo npm install -g ./http-assert
http-assert@1.3.0 /usr/lib/node_modules/http-assert
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall http-assert
Package Name | http-assert |
Version | 1.3.0 |
Description | assert with status codes |
Released Date | 2017-05-08T05:13:07.530Z |
Published by | dougwilson |
How to Learn | https://www.npmjs.com/package/http-assert/tutorial |