lodash v4.17.10

The Lodash library exported as Node.js modules.

Installation

Using npm:

  1. $ npm i -g npm
  2. $ npm i --save lodash

In Node.js:

  1. // Load the full build.
  2. var _ = require('lodash');
  3. // Load the core build.
  4. var _ = require('lodash/core');
  5. // Load the FP build for immutable auto-curried iteratee-first data-last methods.
  6. var fp = require('lodash/fp');
  7. // Load method categories.
  8. var array = require('lodash/array');
  9. var object = require('lodash/fp/object');
  10. // Cherry-pick methods for smaller browserify/rollup/webpack bundles.
  11. var at = require('lodash/at');
  12. var curryN = require('lodash/fp/curryN');

See the package source for more details.

Note:
Install n_ for Lodash use in the Node.js < 6 REPL.

Support

Tested in Chrome 63-64, Firefox 57-58, IE 11, Edge 14, Safari 10-11, Node.js 4-9, & PhantomJS 2.1.1.
Automated browser & CI test runs are available.