https://github.com/toss/es-toolkit
A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
https://github.com/toss/es-toolkit
Last synced: about 2 months ago
JSON representation
A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
- Host: GitHub
- URL: https://github.com/toss/es-toolkit
- Owner: toss
- License: other
- Created: 2024-04-25T11:56:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-11T07:03:40.000Z (6 months ago)
- Last Synced: 2025-05-11T07:30:32.475Z (6 months ago)
- Language: TypeScript
- Homepage: https://es-toolkit.slash.page
- Size: 7.97 MB
- Stars: 8,060
- Watchers: 28
- Forks: 410
- Open Issues: 94
-
Metadata Files:
- Readme: README-ja_jp.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- awesome - toss/es-toolkit - A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash. (TypeScript)
- awesome - toss/es-toolkit - A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash. (TypeScript)
- awesome-starred - toss/es-toolkit - A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash. (TypeScript)
- awesome-typesafe - toss/es-toolkit - A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash. (**1. Libraries** / Functional Programming)
- my-awesome-list - es-toolkit - 3 times faster and up to 97% smaller—a major upgrade to lodash. | toss | 10347 | (TypeScript)
- awesome-starred - toss/es-toolkit - A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash. (TypeScript)
README

# es-toolkit · [](https://github.com/toss/slash/blob/main/LICENSE) [](https://codecov.io/gh/toss/es-toolkit) [](https://www.npmjs.com/package/es-toolkit) [](https://jsr.io/@es-toolkit/es-toolkit) [](https://discord.gg/vGXbVjP2nY)
[English](https://github.com/toss/es-toolkit/blob/main/README.md) | [한국어](https://github.com/toss/es-toolkit/blob/main/README-ko_kr.md) | [简体中文](https://github.com/toss/es-toolkit/blob/main/README-zh_hans.md) | 日本語
es-toolkitは、最先端のJavaScriptユーティリティライブラリであり、高性能で小さなバンドルサイズ、強力な型注釈を提供します。
- es-toolkitは、[debounce](https://es-toolkit.dev/reference/function/debounce.html)、[delay](https://es-toolkit.dev/reference/promise/delay.html)、[chunk](https://es-toolkit.dev/reference/array/chunk.html)、[sum](https://es-toolkit.dev/reference/math/sum.html)、[pick](https://es-toolkit.dev/reference/object/pick.html)など、日常的に使用するさまざまなユーティリティ関数を最新の実装で提供します。
- パフォーマンスを重視して設計されており、es-toolkitは最新のJavaScript環境で[2-3倍の性能向上](https://es-toolkit.dev/performance.html)を実現します。
- es-toolkitはツリーシェイキングをサポートしており、他のライブラリと比較してJavaScriptコードを最大[97%削減](https://es-toolkit.dev/bundle-size.html)します。
- es-toolkitは、lodashを簡単に置き換えることができる完全な互換性レイヤー、[es-toolkit/compat](https://es-toolkit.dev/compatibility.html)を提供します。
- es-toolkitには組み込みのTypeScriptサポートが含まれており、直感的で堅牢な型を提供します。また、[isNotNil](https://es-toolkit.dev/reference/predicate/isNotNil.html)などの便利な型ガードも提供します。
- es-toolkitは、[Storybook](https://github.com/storybookjs/storybook/blob/9d862798d666678cc4822e857c00bbd744169ced/code/core/package.json#L358)、Recharts、ink、CKEditorなど、信頼性の高い人気のオープンソースプロジェクトで利用されています。
- es-toolkitは100%のテストカバレッジを持ち、信頼性と堅牢性を確保しています。
## 例
```tsx
// jsrでは '@es-toolkit/es-toolkit' からインポートします。
import { chunk, debounce } from 'es-toolkit';
const debouncedLog = debounce(message => {
console.log(message);
}, 300);
// この呼び出しはデバウンスされます
debouncedLog('Hello, world!');
const array = [1, 2, 3, 4, 5, 6];
const chunkedArray = chunk(array, 2);
console.log(chunkedArray);
// 出力: [[1, 2], [3, 4], [5, 6]]
```
## 貢献
コミュニティの皆さんからの貢献を歓迎します。詳細な貢献ガイドについては、以下をお読みください。
[CONTRIBUTING](https://github.com/toss/es-toolkit/blob/main/.github/CONTRIBUTING.md)
## ライセンス
MIT © Viva Republica, Inc. 詳細については[LICENSE](./LICENSE)をご覧ください。