es-toolkit: A Modern, High-Performance JavaScript Utility Library
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
es-toolkit is a cutting-edge JavaScript utility library designed for modern web development. It offers significant performance improvements, being 2-3 times faster and up to 97% smaller than traditional alternatives like lodash. This library provides a comprehensive set of utility functions with strong type annotations and full TypeScript support.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
es-toolkit is a state-of-the-art, high-performance JavaScript utility library designed for modern web development. It offers a comprehensive set of everyday utility functions, including debounce, delay, chunk, sum, and pick, all with modern implementations. This library stands out for its exceptional performance, achieving 2-3 times better speeds in modern JavaScript environments, and its incredibly small bundle size, reducing JavaScript code by up to 97% compared to other libraries, thanks to built-in tree-shaking.
Installation
To integrate es-toolkit into your project, you can use npm, yarn, or pnpm:
npm install es-toolkit
# or
yarn add es-toolkit
# or
pnpm add es-toolkit
Examples
Here are a couple of examples demonstrating how to use debounce and chunk from es-toolkit:
import { chunk, debounce } from 'es-toolkit';
const debouncedLog = debounce(message => {
console.log(message);
}, 300);
// This call will be debounced
debouncedLog('Hello, world!');
const array = [1, 2, 3, 4, 5, 6];
const chunkedArray = chunk(array, 2);
console.log(chunkedArray);
// Output: [[1, 2], [3, 4], [5, 6]]
Why Use es-toolkit?
es-toolkit offers compelling advantages for developers seeking efficient and reliable utility functions:
- Superior Performance: Experience 2-3 times faster execution in modern JavaScript environments.
- Minimal Bundle Size: Benefit from up to 97% smaller JavaScript code, with full tree-shaking support out of the box.
- Robust TypeScript Support: Enjoy built-in, straightforward, and powerful type annotations, including useful type guards like
isNotNil. - Seamless Lodash Compatibility: Easily migrate existing projects with a complete compatibility layer available as es-toolkit/compat.
- Battle-Tested Reliability: Trusted by popular open-source projects such as Storybook, Recharts, ink, and CKEditor, and backed by 100% test coverage.
Links
Explore es-toolkit further through these official resources:
Related repositories
Similar repositories that may be relevant next.

code-session-memory: Automatic Vector Memory for AI Coding Sessions
August 15, 2026
code-session-memory provides automatic vector memory for various AI coding tools like OpenCode, Claude Code, Cursor, VS Code, Codex, and Gemini CLI. It indexes new messages into a vector database after each AI agent turn, enabling semantic search across all your past coding sessions. This tool ensures memory is shared across different platforms, enhancing developer productivity.

Cloudflare Computer: Give Your Agent a Virtual Filesystem
August 14, 2026
Cloudflare Computer is an innovative project that provides a virtual filesystem within a Durable Object, allowing agents to interact with a persistent state. It offers pluggable execution backends, including containerized Linux environments and serverless Workers, enabling flexible and powerful agent computing. Currently in preview, it's ideal for experiments and prototypes leveraging Cloudflare's edge infrastructure.

SwarmClaw: Self-Hosted AI Agent Runtime for Autonomous Swarms
August 13, 2026
SwarmClaw is an open-source, self-hosted AI agent runtime and multi-agent framework designed for autonomous agent swarms. It offers durable agent memory, MCP tools, schedules, and delegation, supporting over 23 LLM providers including Claude, GPT, Gemini, OpenRouter, and Ollama. This platform serves as a practical alternative to solutions like Claude Code and LangChain for those seeking self-hosted AI agent orchestration.

json-render: The Generative UI Framework for Dynamic Interfaces
August 12, 2026
json-render is a powerful Generative UI framework that allows developers to create dynamic, personalized user interfaces from natural language prompts. It ensures reliability by constraining AI-generated output to predefined components and actions, offering a predictable and safe way to build cross-platform UIs.
Source repository
Open the original repository on GitHub.
10 counted GitHub visits