# ant-util

> ant工具组件

Latest version **2.0.2** (published 2020-02-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install ant-util
pnpm add ant-util
yarn add ant-util
bun add ant-util
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2020-02-23 |
| First published | 2017-05-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 874.1 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| Author | lihongji |
| Maintainers | antgod |

## Links

- npm: https://www.npmjs.com/package/ant-util
- npm.io page: https://npm.io/package/ant-util

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [react-kendo](https://npm.io/package/react-kendo.md) ~0.13.11

## Recent versions

- 2.0.2 (latest) — 2020-02-23
- 2.0.1 — 2018-08-20
- 1.3.11 — 2018-08-20
- 1.3.10 — 2018-08-20
- 1.3.9 — 2018-08-20
- 1.3.7 — 2018-02-14
- 1.3.6 — 2018-01-13
- 1.3.5 — 2017-11-21
- 1.3.4 — 2017-10-29
- 1.3.3 — 2017-10-24
- 1.3.2 — 2017-10-22
- 1.3.1 — 2017-10-16
- 1.3.0 — 2017-10-15
- 1.2.3 — 2017-10-05
- 1.2.2 — 2017-10-03
- … 16 more at https://npm.io/package/ant-util/versions

## README

## Ant Util

a javascript function expressions util including practical function.

### Features

* an javascript util handle function,object,array,etc.
* written in function expressions style.
* simple test case ant rich api document.

### Environment Support
* Browser: Modern browsers support ecmascript 5

### Install
```
npm install ant-util --save
```
### Usage
```js
import util from 'ant-util'
const { map } = util

map({ name: 'ant', age: 13 }, (value, key) => `my ${key} is ${value}`)

// => {name: 'my name is ant', age: 'my age is 13'}
```

Ant import style manually:
```js
import { map } from 'ant-util/lib/object'
```

### Development
```
$ git clone https://github.com/antgod/ant-util.git
$ cd ant-util && npm install
```
### API Usage（to be continue）

* [functions][2]
* [array][3]
* [object][4]
* [string][5]
* [exist][6]
* [dom][7]
* [url][8]
* [assert][9]
* [if][10]

  [1]: https://github.com/antgod/ant-util/
  [2]: https://github.com/antgod/ant-util/blob/master/__test__/functions.test.js
  [3]: https://github.com/antgod/ant-util/blob/master/__test__/array.test.js
  [4]: https://github.com/antgod/ant-util/blob/master/__test__/object.test.js
  [5]: https://github.com/antgod/ant-util/blob/master/__test__/string.test.js
  [6]: https://github.com/antgod/ant-util/blob/master/__test__/exist.test.js
  [7]: https://github.com/antgod/ant-util/blob/master/__test__/dom.test.js
  [8]: https://github.com/antgod/ant-util/blob/master/__test__/url.test.js
  [9]: https://github.com/antgod/ant-util/blob/master/__test__/assert.test.js
  [10]: https://github.com/antgod/ant-util/blob/master/__test__/if.test.js

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