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
Repository https://github.com/lodash/lodash
Homepage https://lodash.com/custom-builds
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 ·
"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
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
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
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
Videos
Top answer 1 of 4
27
You can load types from here:
npm install --save-dev @types/lodash-es
And use it like:
import { camelCase } from "lodash-es"
2 of 4
3
ts-node compiles .ts files as they are loaded. It doesn't touch .js files; either they must already be in a form understood by Node.js (e.g., no ES6 import statements) or you must use a separate mechanism to transform them, such as the @babel/register require hook (essentially the same thing that is used by babel-node). You would still need to configure @babel/register not to ignore node_modules, as described in the other answer. The advice from the other answer to just use lodash instead of lodash-es is good.
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.
GitHub
github.com › lodash › lodash
lodash v4.18.0
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
jsDelivr
jsdelivr.com › package › npm › lodash-es
lodash-es CDN by jsDelivr - A CDN for npm and GitHub
Published Jan 26, 2015
Repository https://github.com/lodash/lodash
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
Published Nov 21, 2023
Version 4.17.12
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.
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