Have ideas to improve npm?Join in the discussion! »

    lodash
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/lodash package

    3.9.3 • Public • Published

    lodash v3.9.3

    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 37-38, IE 6-11, MS Edge, Opera 28-29, Safari 5-8, ChakraNode 0.12.2, io.js 2.1.0, Node.js 0.8.28, 0.10.38, & 0.12.4, 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.

    Install

    npm i [email protected]

    Version

    3.9.3

    License

    MIT

    Homepage

    lodash.com/

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar