@apus.run/utils

0.1.4 • Public • Published

@apus.run/utils

NPM version Docs

JavaScript / TypeScript常用工具集, 核心代码来自至 @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.

Usage

Install package:

# npm
npm install @apus.run/utils

# yarn
yarn add @apus.run/utils

# pnpm
pnpm install @apus.run/utils

Import:

// ESM
import { p } from '@apus.run/utils'

// CommonJS
const { p } = require("@apus.run/utils");

Readme

Keywords

none

Package Sidebar

Install

npm i @apus.run/utils

Weekly Downloads

2

Version

0.1.4

License

MIT

Unpacked Size

69.5 kB

Total Files

43

Last publish

Collaborators

  • moocss