es-toolkit
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.
Something wrong if the last element has another type Using `orderBy(data, ["value"], ["asc"])` ``` const data = [ { id: 1, value: "apple" }, { id: 2, value: "banana" },...
I notices an odd mismatch today when trying to use `object/mapValues` 1. [The doc](https://es-toolkit.slash.page/reference/object/mapValues.html) for that function exists, but doesn't indicate a version that the function is available in 2....
## Description If value `a` is a `'hello'` and value `b` is a `24`, then value `a` will be converted to `NaN`. So, `a > b` and `a < b`...
Closes #308
Related With https://github.com/toss/es-toolkit/pull/338, https://github.com/toss/es-toolkit/pull/358 I'm submitting this PR again with modifications due to a Vercel deployment error that occurred when I submitted the previous PR. I suspect the deployment error...
implement #367
benchmark  because of https://github.com/toss/es-toolkit/pull/187, the test about curry was not implemented, so I did not move it into compat
Hello, do you guys think it is a good idea to make `cloneDeep` to support custom colne rules ? try this ```ts import {cloneDeep} from 'es-toolkit'; import Decimal from 'decimal.js';...
# Description add `join` function