npmbot.com
AI

es-toolkit

v1.32.0MITTree-shakeableTS Ready

A modern JavaScript utility library with 2-3x faster performance and up to 97% smaller bundle size.

99/ 100
Excellent Health
Weekly Downloads
890k
Bundle Size (gzip)
1.1 kB(3.2 kB min)
Dependencies
Zero Deps
Last Updated
2025-02-15
SPONSORED CLOUD & DEV TOOLSβ€’Google Ads Partner
NPMBot AI Assessment

The sensational 2025/2026 replacement for Lodash: blindingly fast and tiny.

Engineered by Toss, es-toolkit re-implements essential utility functions using modern V8 engine optimizations. It achieves 2x to 3x higher execution performance while maintaining sub-2kB tree-shakeable chunks and flawless TypeScript type inference.

Key Advantages
  • β€’Up to 97% smaller bundle footprint than Lodash
  • β€’Benchmark tested: 2x to 3x faster than Lodash on average operations
  • β€’Native TypeScript support with accurate return type inference
  • β€’Zero dependencies, pure ESM and modern CJS builds
Gotchas & Limitations
  • β€’Does not duplicate obscure legacy Lodash methods (intentionally streamlined)
Recommended For:

Any modern TypeScript or JavaScript project replacing lodash, Performance-critical loops and data transformations

Avoid If:

Codebases relying on deep lodash chaining syntax (`_().map().filter().value()`)

FEATURED PARTNERβ€’Google Ads Partner
Installation & Quickstart
Package Manager Command
javascript
npm install es-toolkit
es-toolkit Usage Example
javascript
import { chunk, debounce } from 'es-toolkit';

const chunks = chunk([1, 2, 3, 4], 2);
console.log(chunks);
Compare es-toolkit with Alternatives