new-partial

Partial function application.

npm install new-partial
3 downloads in the last week
16 downloads in the last month

new-partial

Partial function application.

$ npm install new-partial

Usage

partial      = require('new-partial')

hundredTimes = partial(multiply, 100)
tenTimes     = partial(multiply, 2, 5)

multiply(2, 5)
// => 10

hundredTimes(4, 5, 6)
// => 12000

tenTimes(5)
// => 50

tenTimes()
// => 10

npm loves you