# @zat-design-pro-component/utils

> ## 介绍

Latest version **1.1.15** (published 2023-10-27) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @zat-design-pro-component/utils
pnpm add @zat-design-pro-component/utils
yarn add @zat-design-pro-component/utils
bun add @zat-design-pro-component/utils
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.15 |
| Published | 2023-10-27 |
| First published | 2022-09-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 64.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | wanchongyang, wsq1992, caojialuo, sansansine, kinsliy, lurenjie |

## Links

- npm: https://www.npmjs.com/package/@zat-design-pro-component/utils
- npm.io page: https://npm.io/package/@zat-design-pro-component/utils

## Dependencies (3)

- [big.js](https://npm.io/package/big.js.md) ^6.2.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [moment](https://npm.io/package/moment.md) ^2.29.4

## Recent versions

- 1.1.15 (latest) — 2023-10-27
- 1.0.27-beta.2 (beta) — 2023-03-01
- 1.1.14 — 2023-10-27
- 1.1.13-beta.1 — 2023-10-27
- 1.1.13 — 2023-10-18
- 1.1.12 — 2023-09-26
- 1.1.11 — 2023-09-19
- 1.1.10 — 2023-09-15
- 1.1.9 — 2023-08-30
- 1.1.8 — 2023-08-23
- 1.1.7 — 2023-08-09
- 1.1.6 — 2023-07-20
- 1.1.5 — 2023-07-10
- 1.1.4 — 2023-07-05
- 1.1.3 — 2023-06-29
- … 55 more at https://npm.io/package/@zat-design-pro-component/utils/versions

## README

### 组件更名为 [@zat-design/utils](https://www.npmjs.com/package/@zat-design/utils) 后续维护将在新包进行

## 介绍

公共组件由`validate`、`tools`、`transform`三部分组成, 集成 React+antd 项目中常用校验/工具方法和转换函数组成

## 基本使用

```js
import { tools, transforms, validate } from '@zat-design-pro-component/utils';

tools.formatAmount(123.123, 2);
transforms.transformSwitch('YN');
validate.isPhone('18533333333');
```

---
_Source: https://npm.io/package/@zat-design-pro-component/utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
