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

## Description I implement a `compat/orderBy`. It is slower than `es-toolkit/orderBy`, but it is faster than `lodash/orderBy`. This is because lodash converts same strings to paths (e.g., `"user.name"` to `["user",...

![image](https://github.com/user-attachments/assets/710e0bbe-e05b-406d-a198-a49cfc5a96d4)

This PR fixes Vercel deployment failures by implementing async loading for the Sandpack component in our vitepress theme config. I believe the issue is caused by `vitepress-plugin-sandpack`'s Sandbox component using...

Lodash's `orderBy` allows nested keys (`orderBy(array, ['episode.viewers'], ['asc'])`), whereas es-toolkit's `orderBy` does not. [Example](https://stackblitz.com/edit/vitejs-vite-1zgutf?file=src%2FApp.tsx)

Hello, I hope you're doing well. I wanted to ask if there are any plans to support lodash's [`template`](https://lodash.com/docs/4.17.15#template) function in es-toolkit. This feature is quite helpful in certain templating...

For easy migration from lodash to es-toolkit, our goal is to achieve almost complete feature parity with lodash. For details, please refer to our [compatibility documentation](https://es-toolkit.slash.page/compatibility.html). We intend to migrate...

Add a document for migrating from lodash, this helps to increase the project's visibility and encourage more people to dare to replace lodash

```function shuffle(arr: T[], key: string): T[];```

https://lodash.com/docs/4.17.15#flatMapDeep It would be nice if `flatMapDeep` was added to `es-toolkit`. ## Suggested ```ts export const flatMapDeep = (arr: readonly T[], iteratee: (item: T) => U) => { return flattenDeep(arr.map((item:...

https://lodash.com/docs/4.17.15#throttle