A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
es-toolkit is a state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
Here are some of the features es-toolkit offers:
// import from '@es-toolkit/es-toolkit' in jsr. import { debounce, chunk } 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]]
If you want to know more about the project, please take a look at the following resources:
Add Package
deno add jsr:@es-toolkit/es-toolkit
Import symbol
import * as es_toolkit from "@es-toolkit/es-toolkit";
---- OR ----
Import directly with a jsr specifier
import * as es_toolkit from "jsr:@es-toolkit/es-toolkit";
Add Package
npx jsr add @es-toolkit/es-toolkit
Import symbol
import * as es_toolkit from "@es-toolkit/es-toolkit";
Add Package
yarn dlx jsr add @es-toolkit/es-toolkit
Import symbol
import * as es_toolkit from "@es-toolkit/es-toolkit";
Add Package
pnpm dlx jsr add @es-toolkit/es-toolkit
Import symbol
import * as es_toolkit from "@es-toolkit/es-toolkit";
Add Package
bunx jsr add @es-toolkit/es-toolkit
Import symbol
import * as es_toolkit from "@es-toolkit/es-toolkit";