0.1.4 • Published 11 months ago

@apus.run/utils v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@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");
0.1.4

11 months ago

0.1.3

11 months ago