You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Skylar Ittner a77144c6bc Push source 7 years ago
..
array Push source 7 years ago
chain Push source 7 years ago
collection Push source 7 years ago
date Push source 7 years ago
function Push source 7 years ago
internal Push source 7 years ago
lang Push source 7 years ago
math Push source 7 years ago
number Push source 7 years ago
object Push source 7 years ago
string Push source 7 years ago
utility Push source 7 years ago
LICENSE Push source 7 years ago
README.md Push source 7 years ago
array.js Push source 7 years ago
chain.js Push source 7 years ago
collection.js Push source 7 years ago
date.js Push source 7 years ago
function.js Push source 7 years ago
index.js Push source 7 years ago
lang.js Push source 7 years ago
math.js Push source 7 years ago
number.js Push source 7 years ago
object.js Push source 7 years ago
package.json Push source 7 years ago
string.js Push source 7 years ago
support.js Push source 7 years ago
utility.js Push source 7 years ago

README.md

lodash v3.10.1

The modern build of lodash exported as Node.js/io.js modules.

Generated using lodash-cli:

$ lodash modularize modern exports=node -o ./
$ lodash modern -d -o ./index.js

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash

In Node.js/io.js:

// load the modern build
var _ = require('lodash');
// or a method category
var array = require('lodash/array');
// or a method (great for smaller builds with browserify/webpack)
var chunk = require('lodash/array/chunk');

See the package source for more details.

Note:
Dont assign values to the special variable _ when in the REPL.
Install n_ for a REPL that includes lodash by default.

Module formats

lodash is also available in a variety of other builds & module formats.

Further Reading

Features

Support

Tested in Chrome 43-44, Firefox 38-39, IE 6-11, MS Edge, Safari 5-8, ChakraNode 0.12.2, io.js 2.5.0, Node.js 0.8.28, 0.10.40, & 0.12.7, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7.6. Automated browser & CI test runs are available. Special thanks to Sauce Labs for providing automated browser testing.