Utils
Collection of common JavaScript / TypeScript utils
Install / Use
/learn @antfu/UtilsREADME
@antfu/utils
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
devDependenciesand bundled into your dist.
Sponsors
<p align="center"> <a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg"> <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/> </a> </p>License
MIT License © 2021-PRESENT Anthony Fu
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
