lodash-es is the ES6 module version of the Lodash utility library, designed specifically for modern JavaScript applications that support tree-shaking to reduce bundle sizes. Unlike the standard lodash package which uses CommonJS and often imports the entire library even for single functions, lodash-es allows developers to import only the specific utilities they need, such as debounce, cloneDeep, or map, resulting in smaller and more efficient builds.

Key characteristics and usage include:

  • Modular Architecture: Functions are available as separate ES6 modules (e.g., import map from "lodash-es/map.js") or via named imports from the main package (e.g., import { map, filter } from "lodash-es").

  • Tree-Shaking Support: Modern bundlers like Webpack and Rollup can eliminate unused code, ensuring that only the functions actually used in the project are included in the final bundle.

  • TypeScript Compatibility: It provides excellent out-of-the-box TypeScript support with built-in type definitions, offering better autocompletion and error catching compared to the standard library.

  • Functionality: It offers the same 300+ utility functions as standard Lodash, covering arrays, collections, objects, strings, functions, and more, organized into logical categories.

Featurelodashlodash-es
Module SystemCommonJSES6 Modules (ESM)
Tree-ShakingNot supportedFully supported
Bundle SizeLarger (imports all)Smaller (imports only used)
EnvironmentAll JS environments (including older)Modern ES6+ environments
Import Syntaxrequire('lodash')import { func } from 'lodash-es'

While lodash-es is ideal for modern projects, an alternative library called es-toolkit is gaining traction as a faster and significantly smaller (up to 97% smaller) drop-in replacement that also offers 100% compatibility with Lodash functions.

🌐
npm
npmjs.com › package › lodash-es
lodash-es - npm
4 days ago - Lodash exported as ES modules.. Latest version: 4.18.1, last published: 19 hours ago. Start using lodash-es in your project by running `npm i lodash-es`. There are 16386 other projects in the npm registry using lodash-es.
      » npm install lodash-es
    
Published   Apr 01, 2026
Version   4.18.1
Author   John-David Dalton
JavaScript library in the functional programming paradigm
Lodash is a JavaScript library which provides utility functions for common programming tasks using the functional programming paradigm. Lodash is a fork of Underscore.js. It joined the Dojo Foundation in 2013, and … Wikipedia
Factsheet
Lodash°
Original author John-David Dalton
Factsheet
Lodash°
Original author John-David Dalton
🌐
Lodash
lodash.com
Lodash
lodash-es, babel-plugin-lodash, & lodash-webpack-plugin · lodash/fp · lodash-amd · futil-js is a set of functional utilities designed to complement lodash · Contributing · Release Notes ·
Discussions

"es-toolkit", a 2-3x faster and 97% smaller alternative to lodash
Hello :) we are currently building es-toolkit, a modern JavaScript utility library which can be an alternative to lodash. On average, es-toolkit is 2-3 times faster and has a bundle size up to 97% smaller than lodash. es-toolkit provides everyday JavaScript functions like debounce, throttle, delay, sample, and sum. Here are some highlights! 1. Fast performance es-toolkit delivers 2-3 times faster runtime performance compared to similar libraries like lodash. (See our docs: https://es-toolkit.slash.page/performance.html ) 2. Small bundle size Thanks to modern implementation, the functions in es-toolkit have a very small bundle size. For example, the `difference` function is 97.2% smaller. It also supports precise tree shaking, including only the minimum required code. (See our docs: https://es-toolkit.slash.page/bundle-size.html ) 3. Safe and robust types All functions come with simple and robust TypeScript types, provided in-house. 4. Test coverage 100% Every function and branch is thoroughly tested, ensuring reliable operation. We welcome community contributions. Please check out our repository and consider contributing :) GitHub: https://github.com/toss/es-toolkit Docs: https://es-toolkit.slash.page/ More on reddit.com
🌐 r/javascript
36
101
July 5, 2024
Merge lodash-es into lodash package
I believe both issues would be resolved if the lodash-es package is merged into the lodash package, but with every file using an .mjs extension instead of a .js extension. More on github.com
🌐 github.com
61
March 3, 2021
es-toolkit, a drop-in replacement for Lodash, achieves 100% compatibility
I’ve used es-toolkit some time ago and some of the functions were simply not working as expected More on reddit.com
🌐 r/node
19
48
July 24, 2025
es-toolkit, a drop-in replacement for Lodash, achieves 100% compatibility
GitHub | Website es-toolkit is a modern JavaScript utility library that's 2-3 times faster and up to 97% smaller, a major… More on reddit.com
🌐 r/javascript
15
114
July 24, 2025
🌐
DEV Community
dev.to › oooopsitsme › why-you-should-use-lodash-es-in-your-typescript-projects-153n
Why You Should Use `lodash-es` in Your TypeScript Projects - DEV Community
August 23, 2024 - Switching to lodash-es in your TypeScript projects offers several benefits, from reduced bundle sizes through tree-shaking to better TypeScript support. It's a no-brainer if you're aiming for a modern, efficient, and maintainable codebase.
🌐
Lodash
lodash.com › docs
Lodash Documentation
Creates an array of values by running each element in collection thru iteratee. The iteratee is invoked with three arguments: (value, index|key, collection). Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, _.reject, and _.some.
Find elsewhere
🌐
GitHub
github.com › lodash › lodash
lodash v4.18.0
lodash-es, babel-plugin-lodash, & lodash-webpack-plugin ·
Starred by 61.5K users
Forked by 7.1K users
Languages   JavaScript 97.2% | HTML 2.3% | EJS 0.5%
🌐
deps.dev
deps.dev › npm › lodash-es
lodash-es | npm
You need to enable JavaScript to run this app
🌐
Medium
medium.com › @iamalexcarter › whats-the-difference-between-lodash-and-lodash-es-f3e3be29ec9e
What’s the Difference Between Lodash and Lodash-ES | by Alex Carter | Medium
November 4, 2024 - What’s the Difference Between Lodash and Lodash-ES Bundle size optimization is crucial for application performance. While Lodash has long been a go-to utility library, its ES module counterpart …
🌐
Blazemeter
blazemeter.com › blog › import-lodash-libraries
Your Lodash Tutorial: How To Import Lodash Libraries | Perforce BlazeMeter
Another option you can use is lodash-es: the Lodash library exported as ES modules. Some of us might say that this is a preferred option.
🌐
jsDelivr
jsdelivr.com › package › npm › lodash-es
lodash-es CDN by jsDelivr - A CDN for npm and GitHub
January 26, 2015 - A free, fast, and reliable CDN for lodash-es. Lodash exported as ES modules.
Published   Jan 26, 2015
🌐
Bundlephobia
bundlephobia.com › package › lodash-es
lodash-es ❘ Bundlephobia
Find the size of javascript package lodash-es. Bundlephobia helps you find the performance impact of npm packages.
🌐
npm
npmjs.com › package › @types › lodash-es
@types/lodash-es - npm
November 21, 2023 - This package contains type definitions for lodash-es (http://lodash.com/).
      » npm install @types/lodash-es
    
🌐
npm
npmjs.com › search
lodash-es - npm search
Lodash exported as ES modules.
🌐
Tessl
tessl.io › registry › tessl › npm-lodash-es › 4.17.0
tessl/npm-lodash-es@4.17.x - Registry - Tessl
September 15, 2025 - Lodash ES is the Lodash utility library exported as ES6 modules, providing 300+ utility functions for common programming tasks.
🌐
Yarn
classic.yarnpkg.com › en › package › lodash-es
lodash-es
Fast, reliable, and secure dependency management.
🌐
NPM Compare
npm-compare.com › lodash,lodash-es
lodash vs lodash-es | JavaScript Utility Libraries
The primary difference between the two packages is that lodash is designed for use in all JavaScript environments, while lodash-es is optimized for ES6 (ECMAScript 2015) and later environments, providing a modular structure that allows for tree-shaking and smaller bundle sizes in modern ...
🌐
GitHub
github.com › lodash › lodash › issues › 5107
Merge lodash-es into lodash package · Issue #5107 · lodash/lodash
March 3, 2021 - I believe both issues would be resolved if the lodash-es package is merged into the lodash package, but with every file using an .mjs extension instead of a .js extension.
Author   remcohaszing
🌐
ITNEXT
itnext.io › lodash-es-vs-individual-lodash-utilities-size-comparison-676f14b07568
Lodash-es vs individual Lodash utilities: Size comparison | by Richard Tan | ITNEXT
March 28, 2019 - I attribute this to lodash-es being able to share code between functions, whereas single lodash.utility functions are siloed and unable to share code.