How to Install underscore NPM Packages on Ubuntu / Debian

How to Install underscore software package in NPM Packages

underscore : JavaScripts functional programming helper library.. You can installing underscore 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 underscore
$ sudo npm install -g underscore

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

$ sudo npm update underscore

Update package globally,

$ npm install -g underscore

Git clone:

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

underscore@1.8.3 /usr/lib/node_modules/underscore

How to remove underscore package :

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

$ sudo npm uninstall underscore

Basic Information of underscore NPM Package:

Package Name underscore
Version 1.8.3
Description JavaScripts functional programming helper library.
Released Date 2015-04-02T15:32:54.520Z
Published by jashkenas
How to Learn https://www.npmjs.com/package/underscore/tutorial