BASE

es-toolkit

es-toolkit

Backend / API library · Free

Typed JavaScript utility functions with modular imports: they help process collections, objects, and asynchronous scenarios in application code.

Also known as: toss/es-toolkit; es-utility-library; faster-lodash

Resource illustration: es-toolkit

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Process collections and objects with typed utilities
  • Connect the required modular functions and check results using boundary inputs

Example workflow

A possible workflow; this is not a report of hands-on testing.

Process collections and objects with typed utilities.

Before you start

  • A data contract or HTTP workflow.
  • A project with a supported runtime.

Steps

  1. Identify a specific application data transformation.
  2. Connect the required modular functions and check results using boundary inputs.
  3. Add error handling and an integration check of the result.

Check your result

  • Invalid and missing data are handled predictably.
  • Types and the actual response agree; errors are not hidden.

Choosing es-toolkit

Process collections and objects with typed utilities

Choose this when

  • Process collections and objects with typed utilities
  • Connect the required modular functions and check results using boundary inputs

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.

Frequently asked questions

What can you use for free in es-toolkit?

Code and local use under MIT.

What additional costs might arise with es-toolkit?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for es-toolkit?

MIT for the code; dependencies have separate licenses.

How do you get started with es-toolkit?

Identify a specific application data transformation. Connect the required modular functions and check results using boundary inputs. Add error handling and an integration check of the result.

How can I migrate from Lodash, and are separate types needed?

es-toolkit has a separate es-toolkit/compat compatibility layer for migrating from Lodash, built-in TypeScript types, and type guards. The standard package includes debounce, delay, chunk, sum, and pick; tree shaking helps include used functions.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • es-toolkit
  • API
  • Development

Sources

Other resources