It makes a javascript function an high order function
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
History.md
Makefile
Readme.md
component.json
hh.js
package.json

Readme.md

hh

Simple partial application library (high order function)

Installation

Server side

$ npm install hh

Browser side (using component.io)

$ component install nicolagreco/hh

Usage

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");}

License

MIT