How to Install lodash.foreach NPM Packages on Ubuntu / Debian

How to Install lodash.foreach software package in NPM Packages

lodash.foreach : The lodash method `_.forEach` exported as a module.. You can installing lodash.foreach 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 lodash.foreach
$ sudo npm install -g lodash.foreach

If want to update the lodash.foreach package execute the command as below,

$ sudo npm update lodash.foreach

Update package globally,

$ npm install -g lodash.foreach

Git clone:

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

lodash.foreach@4.5.0 /usr/lib/node_modules/lodash.foreach

How to remove lodash.foreach package :

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

$ sudo npm uninstall lodash.foreach

Basic Information of lodash.foreach NPM Package:

Package Name lodash.foreach
Version 4.5.0
Description The lodash method `_.forEach` exported as a module.
Released Date 2016-08-13T17:39:04.857Z
Published by jdalton
How to Learn https://www.npmjs.com/package/lodash.foreach/tutorial