{"name":"es-toolkit","version":"1.36.0-dev.1237","license":"MIT","_id":"es-toolkit@1.36.0-dev.1237","maintainers":[{"name":"toss-build-bot","email":"npm-admin@toss.im"},{"name":"raon0211","email":"raon0211@toss.im"}],"homepage":"https://es-toolkit.slash.page","bugs":{"url":"https://github.com/toss/es-toolkit/issues"},"dist":{"shasum":"d3a47a25e8152440abb5f4879f89765a4250d077","tarball":"http://registry-npm.ywwl.com/es-toolkit/download/es-toolkit-1.36.0-dev.1237.tgz","fileCount":1390,"integrity":"sha512-KxBE41eYTqEZA4ZOBwEsKxBUN0s46qtHkbte/hKxlgDQ1Xmsz4JpTb6zkdKl1dLC3m0CupTGoOzL2EWWzG9M8w==","signatures":[{"sig":"MEYCIQCuJ+Tr35K6cUIuF2aCjUUg0CnZAWKASTE3naOkll+3NAIhANp9jSl1heRKu/1q1TooFhrrNnkRomJn2AVz332SSbFZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/es-toolkit@1.36.0-dev.1237","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3514387,"size":461715,"noattachment":false,"key":"/es-toolkit/-/es-toolkit-1.36.0-dev.1237.tgz"},"main":"./dist/index.js","_from":"file:es-toolkit-1.36.0-dev.1237+cf65b69c.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.global.js","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./math":{"import":{"types":"./dist/math/index.d.mts","default":"./dist/math/index.mjs"},"require":{"types":"./dist/math/index.d.ts","default":"./dist/math/index.js"}},"./util":{"import":{"types":"./dist/util/index.d.mts","default":"./dist/util/index.mjs"},"require":{"types":"./dist/util/index.d.ts","default":"./dist/util/index.js"}},"./array":{"import":{"types":"./dist/array/index.d.mts","default":"./dist/array/index.mjs"},"require":{"types":"./dist/array/index.d.ts","default":"./dist/array/index.js"}},"./error":{"import":{"types":"./dist/error/index.d.mts","default":"./dist/error/index.mjs"},"require":{"types":"./dist/error/index.d.ts","default":"./dist/error/index.js"}},"./compat":{"import":{"types":"./dist/compat/index.d.mts","default":"./dist/compat/index.mjs"},"require":{"types":"./dist/compat/index.d.ts","default":"./dist/compat/index.js"}},"./object":{"import":{"types":"./dist/object/index.d.mts","default":"./dist/object/index.mjs"},"require":{"types":"./dist/object/index.d.ts","default":"./dist/object/index.js"}},"./string":{"import":{"types":"./dist/string/index.d.mts","default":"./dist/string/index.mjs"},"require":{"types":"./dist/string/index.d.ts","default":"./dist/string/index.js"}},"./promise":{"import":{"types":"./dist/promise/index.d.mts","default":"./dist/promise/index.mjs"},"require":{"types":"./dist/promise/index.d.ts","default":"./dist/promise/index.js"}},"./function":{"import":{"types":"./dist/function/index.d.mts","default":"./dist/function/index.mjs"},"require":{"types":"./dist/function/index.d.ts","default":"./dist/function/index.js"}},"./predicate":{"import":{"types":"./dist/predicate/index.d.mts","default":"./dist/predicate/index.mjs"},"require":{"types":"./dist/predicate/index.d.ts","default":"./dist/predicate/index.js"}},"./package.json":"./package.json"},"scripts":{"lint":"eslint --config eslint.config.mjs","test":"vitest --coverage --typecheck","bench":"vitest bench","build":"rollup -c rollup.config.mjs && ./.scripts/postbuild.sh","format":"prettier --write .","prepack":"yarn build","transform":"jscodeshift -t ./.scripts/tests/transform-lodash-test.ts $0 && prettier --write $0","typecheck":"tsc --noEmit"},"_npmUser":{"name":"toss-build-bot","email":"npm-admin@toss.im"},"_resolved":"/home/runner/work/es-toolkit/es-toolkit/out/es-toolkit-1.36.0-dev.1237+cf65b69c.tgz","_integrity":"sha512-KxBE41eYTqEZA4ZOBwEsKxBUN0s46qtHkbte/hKxlgDQ1Xmsz4JpTb6zkdKl1dLC3m0CupTGoOzL2EWWzG9M8w==","repository":{"url":"git+https://github.com/toss/es-toolkit.git","type":"git"},"workspaces":["docs","benchmarks"],"_npmVersion":"10.8.2","description":"A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","react-native":"./dist/index.js","publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","module":"./dist/index.mjs","browser":"./dist/browser.global.js","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./math":{"import":{"types":"./dist/math/index.d.mts","default":"./dist/math/index.mjs"},"require":{"types":"./dist/math/index.d.ts","default":"./dist/math/index.js"}},"./util":{"import":{"types":"./dist/util/index.d.mts","default":"./dist/util/index.mjs"},"require":{"types":"./dist/util/index.d.ts","default":"./dist/util/index.js"}},"./array":{"import":{"types":"./dist/array/index.d.mts","default":"./dist/array/index.mjs"},"require":{"types":"./dist/array/index.d.ts","default":"./dist/array/index.js"}},"./error":{"import":{"types":"./dist/error/index.d.mts","default":"./dist/error/index.mjs"},"require":{"types":"./dist/error/index.d.ts","default":"./dist/error/index.js"}},"./compat":{"import":{"types":"./dist/compat/index.d.mts","default":"./dist/compat/index.mjs"},"require":{"types":"./dist/compat/index.d.ts","default":"./dist/compat/index.js"}},"./object":{"import":{"types":"./dist/object/index.d.mts","default":"./dist/object/index.mjs"},"require":{"types":"./dist/object/index.d.ts","default":"./dist/object/index.js"}},"./string":{"import":{"types":"./dist/string/index.d.mts","default":"./dist/string/index.mjs"},"require":{"types":"./dist/string/index.d.ts","default":"./dist/string/index.js"}},"./promise":{"import":{"types":"./dist/promise/index.d.mts","default":"./dist/promise/index.mjs"},"require":{"types":"./dist/promise/index.d.ts","default":"./dist/promise/index.js"}},"./function":{"import":{"types":"./dist/function/index.d.mts","default":"./dist/function/index.mjs"},"require":{"types":"./dist/function/index.d.ts","default":"./dist/function/index.js"}},"./predicate":{"import":{"types":"./dist/predicate/index.d.mts","default":"./dist/predicate/index.mjs"},"require":{"types":"./dist/predicate/index.d.ts","default":"./dist/predicate/index.js"}},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"packageManager":"yarn@4.7.0","readmeFilename":"README.md","devDependencies":{"tar":"^6","tsx":"^4.19.0","execa":"^9.3.0","tslib":"^2.6.3","eslint":"^9.22.0","rollup":"^4.19.0","vercel":"^41.4.1","vitest":"^2.1.2","globals":"^15.9.0","prettier":"^3.2.5","happy-dom":"^16.7.3","@eslint/js":"^9.9.0","@types/tar":"^6.1.13","typescript":"^5.8.2","@types/node":"^22.7.4","jscodeshift":"^17.0.0","@types/eslint":"^9","@changesets/cli":"^2.27.1","@vue/compiler-sfc":"^3.5.10","eslint-plugin-vue":"^9.28.0","rollup-plugin-dts":"^6.1.1","typescript-eslint":"^8.6.0","@types/jscodeshift":"^0.12.0","broken-link-checker":"^0.7.8","@arethetypeswrong/cli":"^0.15.3","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-typescript":"^12.1.0","@typescript-eslint/parser":"^8.26.1","@vitest/coverage-istanbul":"^2.1.2","@types/broken-link-checker":"^0","@changesets/changelog-github":"^0.5.0","eslint-plugin-no-for-of-array":"^0.0.1","prettier-plugin-sort-re-exports":"^0.1.0","@trivago/prettier-plugin-sort-imports":"^4.3.0"},"dependenciesMeta":{"prettier-plugin-sort-re-exports@0.0.1":{"unplugged":true},"@trivago/prettier-plugin-sort-imports@4.3.0":{"unplugged":true}},"_npmOperationalInternal":{"tmp":"tmp/es-toolkit_1.36.0-dev.1237_1746201398759_0.830843994915266","host":"s3://npm-registry-packages-npm-production"},"readme":"![](./docs/public/og.png)\n\n# es-toolkit &middot; [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/toss/es-toolkit/blob/main/LICENSE) [![codecov](https://codecov.io/gh/toss/es-toolkit/graph/badge.svg?token=8N5S3AR3C7)](https://codecov.io/gh/toss/es-toolkit) [![NPM badge](https://img.shields.io/npm/v/es-toolkit?logo=npm)](https://www.npmjs.com/package/es-toolkit) [![JSR badge](https://jsr.io/badges/@es-toolkit/es-toolkit)](https://jsr.io/@es-toolkit/es-toolkit) [![Discord Badge](https://discord.com/api/guilds/1281071127052943361/widget.png?style=shield)](https://discord.gg/vGXbVjP2nY)\n\nEnglish | [한국어](https://github.com/toss/es-toolkit/blob/main/README-ko_kr.md) | [简体中文](https://github.com/toss/es-toolkit/blob/main/README-zh_hans.md) | [日本語](https://github.com/toss/es-toolkit/blob/main/README-ja_jp.md)\n\nes-toolkit is a state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.\n\n- es-toolkit offers a variety of everyday utility functions with modern implementations, such as [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), and [pick](https://es-toolkit.dev/reference/object/pick.html).\n- Designed with performance in mind, es-toolkit achieves [2-3× better performance](https://es-toolkit.dev/performance.html) in modern JavaScript environments.\n- es-toolkit supports tree shaking out of the box, and [reduces JavaScript code by up to 97%](https://es-toolkit.dev/bundle-size.html) compared to other libraries.\n- es-toolkit offers a complete compatibility layer to seamlessly replace Lodash, available as [es-toolkit/compat](https://es-toolkit.dev/compatibility.html).\n- es-toolkit includes built-in TypeScript support, with straightforward yet robust types. It also provides useful type guards such as [isNotNil](https://es-toolkit.dev/reference/predicate/isNotNil.html).\n- es-toolkit is trusted and used by popular open-source projects like [Storybook](https://github.com/storybookjs/storybook/blob/9d862798d666678cc4822e857c00bbd744169ced/code/core/package.json#L358), [Recharts](https://github.com/recharts/recharts/blob/0fa4cc325da403b6fa1c6be0f820896ed92f806a/package.json#L94), [ink](https://github.com/vadimdemedes/ink/blob/2090ad9779be59dea71d173eb49785b7bd4495d0/package.json#L55), and [CKEditor](https://github.com/ckeditor/ckeditor5/blob/60d5fac804643cb4d359767ee2f94e3d92d1fcc5/packages/ckeditor5-core/package.json#L53).\n- es-toolkit is battle-tested with 100% test coverage, ensuring reliability and robustness.\n\n## Examples\n\n```tsx\n// import from '@es-toolkit/es-toolkit' in jsr.\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## AI Integration\n\nes-toolkit provides [Agent Skills](https://skills.sh) for AI coding tools like Claude Code, Cursor, and Copilot.\n\n```bash\nnpx skills add toss/es-toolkit\n```\n\nFor Claude Code, you can also install via the plugin marketplace:\n\n```\n/plugin marketplace add toss/es-toolkit\n/plugin install es-toolkit@es-toolkit-plugin\n```\n\nFor more details, see the [AI Integration guide](https://es-toolkit.dev/ai-integration.html).\n\n## Contributing\n\nWe welcome contributions from everyone in the community. Read below for a detailed contribution guide.\n\n[CONTRIBUTING](https://github.com/toss/es-toolkit/blob/main/.github/CONTRIBUTING.md)\n\n## License\n\nMIT © Viva Republica, Inc. See [LICENSE](./LICENSE) for details.\n\n<a title=\"Toss\" href=\"https://toss.im\">\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://static.toss.im/logos/png/4x/logo-toss-reverse.png\">\n    <img alt=\"Toss\" src=\"https://static.toss.im/logos/png/4x/logo-toss.png\" width=\"100\">\n  </picture>\n</a>\n","publish_time":1746201399105,"_cnpm_publish_time":1746201399105,"dist-tags":{"canary":"1.0.2-canary.0","dev":"1.53.1-dev.2169","latest":"1.53.1"}}