better-assert : Better assertions for node, reporting the expr, filename, lineno etc. You can installing better-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 better-assert $ sudo npm install -g better-assert
If want to update the better-assert package execute the command as below,
$ sudo npm update better-assert
Update package globally,
$ npm install -g better-assert
$ sudo git clone https://github.com/rektide/better-assert.git
$ sudo npm install -g ./better-assert
better-assert@1.0.2 /usr/lib/node_modules/better-assert
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall better-assert
Package Name | better-assert |
Version | 1.0.2 |
Description | Better assertions for node, reporting the expr, filename, lineno etc |
Released Date | 2014-11-21T05:46:02.646Z |
Published by | tony_ado |
How to Learn | https://www.npmjs.com/package/better-assert/tutorial |