Simple partial application library (high order function)
npm install hhSimple partial application library (high order function)
Server side
$ npm install hh
Browser side (using component.io)
$ component install nicolagreco/hh
``js
var hh = require('hh');
function test(item) {
console.log(item);
}
hh(test, "this is a test");
// it will return a function
// instead of
function() { return test("this is a test");}
``
MIT