phunction
v0.0.0
Published
Substitute a property in for the first argument of a function.
Downloads
2
Readme
phunction
Substitute a property in for the first argument of a function.
Usage
npm install phunction
var phunction = require('phunction');
var api = phunction(api);
Then calling
api(command, arg_1, ..., arg_n [, parameters, callback])
can be replaced with
api[command](arg_1, ..., arg_n [, parameters, callback])