一个现代的 JavaScript 实用程序库,速度比 lodash 快 2-3 倍,体积小 97%,是 lodash 的一次重大升级。
一个现代的 JavaScript 实用程序库,速度比 lodash 快 2-3 倍,体积小 97%,是 lodash 的一次重大升级。
es-toolkit is a state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
// import from '@es-toolkit/es-toolkit' in jsr.
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]]
es-toolkit provides Agent Skills for AI coding tools like Claude Code, Cursor, and Copilot.
npx skills add toss/es-toolkit
For Claude Code, you can also install via the plugin marketplace:
/plugin marketplace add toss/es-toolkit
/plugin install es-toolkit@es-toolkit-plugin
For more details, see the AI Integration guide.
We welcome contributions from everyone in the community. Read below for a detailed contribution guide.
MIT © Viva Republica, Inc. See LICENSE for details.
暂无开放 Issues,或尚未同步最近议题。