Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@antfu/utils

antfu10.8mMIT9.2.0TypeScript support: included

Opinionated collection of common JavaScript / TypeScript utils by @antfu

utils

readme

@antfu/utils

NPM version Docs

Opinionated collection of common JavaScript / TypeScript utils by @antfu.

  • Tree-shakable ESM
  • Fully typed - with TSDocs
  • Type utilities - Arrayable<T>, ElementOf<T>, etc.

This package is designed to be used as devDependencies and bundled into your dist.

Sponsors

License

MIT License © 2021-PRESENT Anthony Fu