lodash

Lodash modular utilities.

  • lodash

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
lodash
58,712714.17.213 years ago12 years agoMinified + gzip package size for lodash in KB

Readme

lodash v4.17.21
The Lodash library exported as Node.js modules.

Installation

Using npm:
$ npm i -g npm
$ npm i --save lodash

In Node.js:
// Load the full build.
var _ = require('lodash');
// Load the core build.
var _ = require('lodash/core');
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lodash/fp');

// Load method categories.
var array = require('lodash/array');
var object = require('lodash/fp/object');

// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lodash/at');
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 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.
Automated browser & CI test runs are available.