tree: 53b38b72f9484c02424941fc3e6c3ab77b61df93 [path history] [tgz]
  1. array/
  2. chain/
  3. collection/
  4. date/
  5. function/
  6. internal/
  7. lang/
  8. math/
  9. number/
  10. object/
  11. string/
  12. utility/
  13. array.js
  14. chain.js
  15. collection.js
  16. date.js
  17. function.js
  18. index.js
  19. lang.js
  20. LICENSE.txt
  21. math.js
  22. number.js
  23. object.js
  24. package.json
  25. README.md
  26. string.js
  27. support.js
  28. utility.js
node_modules/jshint/node_modules/lodash/README.md

lodash v3.7.0

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:
Don’t 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 41-42, Firefox 36-37, IE 6-11, Opera 27-28, Safari 5-8, io.js 1.7.1, Node.js 0.8.28, 0.10.38, & 0.12.2, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5. Automated browser & CI test runs are available. Special thanks to Sauce Labs for providing automated browser testing.