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
import util from 'ant-util'
const { map } = util
map({ name: 'ant', age: 13 }, (value, key) => `my ${key} is ${value}`)
Ant import style manually:
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)