es-toolkit icon indicating copy to clipboard operation
es-toolkit copied to clipboard

A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.

Results 255 es-toolkit issues
Sort by recently updated
recently updated
newest added

Lodash works good https://bundlephobia.com/package/[email protected] I will be glad to see es-toolkit atom sizes

p3: discussion

I've noticed that the `object`'s `get` function is currently in the `compat` directory. The documentation also points out that this is a function for Lodash compatibility and recommends using native...

p2: new feature

Hi, I'd like to suggest a new utility function `mapToObj` You can find reference of it in remeda.js: https://remedajs.com/docs/#mapToObj ```typescript declare const mapToObj: (keys: readonly K[], fn: (key: K) =>...

p2: new feature

While I was sanity-checking the reproduction on [this](https://github.com/toss/es-toolkit/issues/1493) issue, I've found that there's a discrepancy between lodash and compat throttle: ```ts import lodashThrottle from 'lodash-es/throttle'; import compatThrottle from 'es-toolkit/compat/throttle'; const...

p1: minor bug

## Proposal: Improve `isMatch` behavioral consistency Hi! While fixing several `isMatch` issue(https://github.com/toss/es-toolkit/issues/1399), I found cases where Lodash and compat show different results: | Case | Lodash | compat | |---|:---:|:---:|...

p3: discussion

# Fix: Correct isMatch primitive target vs object pattern matching Fixes #1399 --- ## 🐛 Problem Two incorrect matches versus Lodash were identified. ### Bug 1: Top-level primitive target vs...

Adds `addJitter(delay, factor = 0.2, rng = Math.random)` to produce a symmetric randomized delay (uniform in `[delay ± delay*factor]`, clamped ≥ 0) for retry/backoff/polling. **Changes** - New: addJitter.ts - Export...

Improved the test code for the debounce function. - Add test code for the `debounced.flush` function. - Added test code for the `edges option of the debounce` function.

## Summary Updates the return type of `groupBy` to reflect that properties need not exist in the output but that if they do, their value has at least length 1....