es-toolkit/docs/installation.md
2024-05-31 16:54:41 +09:00

760 B

description prev next
How to install es-toolkit
text link
Introduction to es-toolkit ./intro.md
text link
Impact on Bundle Size ./bundle-size

Installation

es-toolkit is available on npm for Node.js, Deno, and Bun.

Node.js

es-toolkit supports Node.js 18 or later. Install es-toolkit with the following command:

npm install es-toolkit
yarn add es-toolkit
pnpm install es-toolkit

Deno

es-toolkit is also available on npm for Deno. Use es-toolkit with the npm: specifier:

import { chunk } from 'npm:es-toolkit@1.0.0';

Bun

es-toolkit is also available on Bun. You can install it via the following command:

bun add es-toolkit