0.0.3 • Published 1 year ago

@evageeks/fputils v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

fputils

npm.io license npm Percentage of issues still open actions 一个纯函数式的工具库

:star: 特性

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

:rocket: 如何使用

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

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

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

:gear: 更新日志

CHANGELOG.md