slurry
automagically curry function arguments
Slurrified functions can be chain-called indefinitely to accumulate the passed arguments.
Calling with no arguments ends the chain, runs the initial function with all the arguments and returns the result.
Install
$ npm install slurry
Usage
const func = args;const s = ; 12; //=> [0 1 2]; //=> [0 1 2]2; //=> [0 1 2] let s1 = ;let s2 = ;let s3 = ;; //=> [1, 2]; //=> [1, 3]