How to Install istanbul NPM Packages on Ubuntu / Debian

How to Install istanbul software package in NPM Packages

istanbul : Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests . You can installing istanbul 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 istanbul
$ sudo npm install -g istanbul

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

$ sudo npm update istanbul

Update package globally,

$ npm install -g istanbul

Git clone:

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

istanbul@0.4.5 /usr/lib/node_modules/istanbul

How to remove istanbul package :

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

$ sudo npm uninstall istanbul

Basic Information of istanbul NPM Package:

Package Name istanbul
Version 0.4.5
Description Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests
Released Date 2016-08-21T20:02:09.468Z
Published by gotwarlost
How to Learn https://www.npmjs.com/package/istanbul/tutorial