# johnson-huang-utils

> 常用的工具方法库

Latest version **1.1.0** (published 2022-11-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install johnson-huang-utils
pnpm add johnson-huang-utils
yarn add johnson-huang-utils
bun add johnson-huang-utils
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2022-11-01 |
| First published | 2022-06-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 241.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | johnson-huang |

## Links

- npm: https://www.npmjs.com/package/johnson-huang-utils
- Repository: https://github.com/Johnson-huang/utils
- Homepage: https://github.com/Johnson-huang/utils#readme
- Issues: https://github.com/Johnson-huang/utils/issues
- npm.io page: https://npm.io/package/johnson-huang-utils

## Recent versions

- 1.1.0 (latest) — 2022-11-01
- 1.0.1 — 2022-06-11
- 1.0.0 — 2022-06-01

## README

# utils
常用的工具方法库

# 安装
```angular2html
npm i johnson-huang-utils -S
```

# 使用
## 全部引入
```javascript
// cjs
import * as utils from 'johnson-huang-utils'
utils.add(1, 2)

// esm
import utils from 'johnson-huang-utils/utils.esm.js'
utils.add(1, 2)
```

## 按需引入
```javascript
// cjs
import { add } from 'johnson-huang-utils'
add(1, 2)

// esm
import { add } from 'johnson-huang-utils/utils.esm.js'
add(1, 2)
```

# API 文档  
https://johnson-huang.github.io/utils/

# 计划
- [x] rollup
  - [x] 去掉注释
  - [x] 代码压缩
  - [x] gzip
- [x] typedoc
  - [x] API 分功能（校验、转换、计算）
  - [ ] 把枚举写入文档
- [x] jest 单元测试
- [x] eslint
- [x] babel
- [x] 自动化 eslint - jest - doc - build - npm publish

---
_Source: https://npm.io/package/johnson-huang-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
