Lodash offers helpers for arrays, objects, strings, and functions in JavaScript. It ships as full, core, per-method, FP, and ES module builds for browsers and Node.js.
Overview
Lodash is a JavaScript utility library focused on consistent, modular helpers for everyday data work. Methods cover iterating collections, manipulating and testing values, and composing functions, reducing boilerplate compared to hand-written loops and guards.
Consumers can load the full build, a smaller core build, category subsets, individual method packages, an FP build with auto-curried iteratee-first style, or lodash-es for tree-shaken bundlers. A lodash/fp entry supports immutable functional-style pipelines. The package is published as a UMD module for browsers and via npm for Node and bundlers.
The OpenJS Foundation blog notes Sovereign Tech Agency support and a move toward feature-complete maturity with rebooted governance and an upcoming Technical Steering Committee. Lodash is tested in modern Node and Bun and recent browser engines, with best-effort support for older browsers listed on the site.
Complementary ecosystem tools include babel-plugin-lodash and lodash-webpack-plugin for smaller bundles, and community libraries such as futil-js that extend functional patterns alongside Lodash.
Key features
- Array and object iteration helpers
- String and number utilities
- Function composition utilities
- Full and core build sizes
- lodash/fp immutable style
- Per-method npm packages
- Browser UMD and Node requires
- lodash-es for ES modules
Use cases
- Collection mapping in Node apps
- Deep cloning and merging objects
- Functional pipelines with lodash/fp
- Smaller bundles via cherry-picking
- Browser utilities without frameworks