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 194 es-toolkit issues
Sort by recently updated
recently updated
newest added

Suppose you'd like to replace lodash with es-toolkit/compat in your project. A dependency of yours uses lodash, but imports packages one by one: ```ts import isEqual from 'lodash/isEqual' ``` Currently,...

Hello, @raon0211 Can I work `stubArray`, `stubFalse`, `stubObject`, `stubString`, `stubTrue` of #91 ??

I think it's more flexible to support both objects and arrays.

**Problem:** - You already use es-toolkit 🤩 - The dependency you just can't live without (recharts for me!) still uses Lodash 😒 - You have both es-toolkit _and_ Lodash in...

We often need to merge deep `options` where there is usually a base/initial set of defaults that are then overridden by the input. I think this is a pretty common...

Add `es-toolkit/fp` export to support functional programming and pipeline syntax. ```ts // example pipe( [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], filter(isEven), map(double), join(", "), ) //...

A way to normalize a number from a given `[min, max]` range to a range of `[0, 1]` Example implementation: ```ts export const normalize = (value: number, min: number, max:...

I noticed that the type tag of the curry function is enumerated. When the number of parameters exceeds a certain value, the type will be any. There are three cases...

#301 This pull request implements the `map` function, which behaves similarly to the [map function in lodash](https://lodash.com/docs/4.17.15#map) The map function takes a collection and an iteratee function, applies the iteratee...

Hello, How do you think about add `nth` function to `array`. I don't know to `array` needs to `nth` function, but i could add this function to `array` .. if...