Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.2 KB

license npm Percentage of issues still open actions

一个纯函数式的工具库

⭐ 特性

  • 支持ES6+或TypeScript编写源码,编译生成生产代码
  • 集成代码风格校验(eslint)
  • 集成单元测试环境(jest)
  • 集成测试覆盖率(istanbul)
  • 集成Github Action

🚀 如何使用

import { curried } from '@evageeks/fputils';

const add = (x, y) => {
    return x + y
}

const curryAdd10 = curried(add)(10)
const curryAdd2 = curryAdd10(2) // 12

⚙️ 更新日志

CHANGELOG.md