1.0.2 • Published 3 years ago

pale-hand v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

pale-hand

一些常用的Javascript工具函数,可以简化我们日常的很多操作

Install

npm i pale-hand -S

Usage

导入

// CommonJS
const _ = require('pale-hand').default;
// ES6
import * as _ from 'pale-hand';

普通调用

// 6
_.add(1, 2, 3);

链式调用

// [1, 4, 6]
_.chain([1, 2, 3])
.map(item => item * 2)
.forEach(item => console.log(item))
.exec();
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago