Opinionated collection of common JavaScript / TypeScript utils by @vt7
npm install @vt7/utils[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![Codecov][codecov-src]][codecov-href]
The @vt7/utils package comprises common utilities and functions to streamline application development.
You can install @vt7/utils using npm or yarn:
``shnpm
npm install @vt7/utils
Import:
`js
// ESM
import { compact } from "@vt7/utils";// CommonJS
const { compact } = require("@vt7/utils");
``[npm-version-src]: https://img.shields.io/npm/v/@vt7/utils?style=flat&colorA=18181B&colorB=F0DB4F
[npm-version-href]: https://npmjs.com/package/@vt7/utils
[npm-downloads-src]: https://img.shields.io/npm/dm/@vt7/utils?style=flat&colorA=18181B&colorB=F0DB4F
[npm-downloads-href]: https://npmjs.com/package/@vt7/utils
[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/@vt7/utils/main?style=flat&colorA=18181B&colorB=F0DB4F
[codecov-href]: https://codecov.io/gh/unjs/@vt7/utils
[bundle-src]: https://img.shields.io/bundlephobia/minzip/@vt7/utils?style=flat&colorA=18181B&colorB=F0DB4F
[bundle-href]: https://bundlephobia.com/result?p=@vt7/utils