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.

SandBase Harness: Local-First AI Agent Runtime with Sandboxed Sessions
September 13, 2026
SandBase Harness is a local-first, self-hosted runtime for AI agents, offering sandboxed sessions, memory, and credentials. This TypeScript-based project provides a robust infrastructure for managing and observing AI agents, ensuring auditability and secure execution on your own machine or infrastructure.

A3M Router: Biology-Inspired LLM Routing for Cost Savings and Performance
September 13, 2026
A3M Router is an open-source, biology-inspired LLM router designed to optimize costs and performance across over 80 providers. It leverages principles like swarm intelligence and neural plasticity to offer adaptive, resilient, and cost-effective AI routing. This tool helps users save significantly on AI costs by intelligently selecting the best model for each query.

Skill Recorder: Turn Screen Recordings into AI Agent Skills
September 11, 2026
Skill Recorder is a desktop application that captures your on-screen work sessions, including clicks and app switches. It leverages the GitHub Copilot CLI to analyze these recordings, reconstructing them into an intent and ordered steps. This process allows users to generate reusable AI agent skills or automations for platforms like Microsoft Scout, Copilot Cowork, or Copilot Studio.

Apache Maka: A High-Performance Agent Workspace for AI Tasks
September 11, 2026
Apache Maka is an incubating project from The Apache Software Foundation, offering a high-performance agent workspace designed to meticulously record all agent activities. It provides a local-first environment for AI agents, allowing users to bring their own models and ensuring transparent, measurable task completion. This project aims to set a new standard for agent reliability and accountability.
Source repository
Open the original repository on GitHub.
15 counted GitHub visits