Notwithstanding Precautions, Misadventure
    Wondering what’s next for npm?Check out our public roadmap! »

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

    4.17.21 • Public • Published

    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.

    Install

    npm i lodash

    DownloadsWeekly Downloads

    42,193,128

    Version

    4.17.21

    License

    MIT

    Unpacked Size

    1.41 MB

    Total Files

    1054

    Homepage

    lodash.com/

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar