SunHuawei / currify

Modern and mini currify implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

currify

Modern and mini currify implementation

Install

npm i currifyjs

Usage

function add(a, b, c) {
    return a + b + c;
};

var addCurr = currify(add);

console.log(addCurr(3)(2)(1))

Support

Modern browsers, Babel or Node.js v7+

About

Modern and mini currify implementation

License:MIT License


Languages

Language:JavaScript 100.0%