{"name":"es-toolkit: A Modern, High-Performance JavaScript Utility Library","description":"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.","github":"https://github.com/toss/es-toolkit","url":"https://osrepos.com/repo/toss-es-toolkit","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/toss-es-toolkit","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/toss-es-toolkit.md","json":"https://osrepos.com/repo/toss-es-toolkit.json","topics":["TypeScript","JavaScript","Utility Library","Performance","Frontend","Web Development","Lodash Alternative"],"keywords":["TypeScript","JavaScript","Utility Library","Performance","Frontend","Web Development","Lodash Alternative"],"stars":null,"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.","content":"## Introduction\n\nes-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.\n\n## Installation\n\nTo integrate es-toolkit into your project, you can use npm, yarn, or pnpm:\n\nbash\nnpm install es-toolkit\n# or\nyarn add es-toolkit\n# or\npnpm add es-toolkit\n\n\n## Examples\n\nHere are a couple of examples demonstrating how to use `debounce` and `chunk` from es-toolkit:\n\ntsx\nimport { chunk, debounce } from 'es-toolkit';\n\nconst debouncedLog = debounce(message => {\n  console.log(message);\n}, 300);\n\n// This call will be debounced\ndebouncedLog('Hello, world!');\n\nconst array = [1, 2, 3, 4, 5, 6];\nconst chunkedArray = chunk(array, 2);\n\nconsole.log(chunkedArray);\n// Output: [[1, 2], [3, 4], [5, 6]]\n\n\n## Why Use es-toolkit?\n\nes-toolkit offers compelling advantages for developers seeking efficient and reliable utility functions:\n\n*   **Superior Performance:** Experience 2-3 times faster execution in modern JavaScript environments.\n*   **Minimal Bundle Size:** Benefit from up to 97% smaller JavaScript code, with full tree-shaking support out of the box.\n*   **Robust TypeScript Support:** Enjoy built-in, straightforward, and powerful type annotations, including useful type guards like `isNotNil`.\n*   **Seamless Lodash Compatibility:** Easily migrate existing projects with a complete compatibility layer available as `es-toolkit/compat`.\n*   **Battle-Tested Reliability:** Trusted by popular open-source projects such as Storybook, Recharts, ink, and CKEditor, and backed by 100% test coverage.\n\n## Links\n\nExplore es-toolkit further through these official resources:\n\n*   [GitHub Repository](https://github.com/toss/es-toolkit)\n*   [Official Documentation](https://es-toolkit.dev)\n*   [NPM Package](https://www.npmjs.com/package/es-toolkit)\n*   [JSR Package](https://jsr.io/@es-toolkit/es-toolkit)","metrics":{"detailViews":2,"githubClicks":1},"dates":{"published":null,"modified":"2026-02-19T00:00:23.000Z"}}