1.0.1 • Published 11 years ago
util-invoke v1.0.1
Invoke
Functional utility for creating a function that will invoke the same method on every passed in object.
Installation
npm install util-invoke --save
Usage
var children = [1, 2, 3, true];
children.map(invoke('toString', 10)); //=> ['1', '2', '3', 'true']
License
MIT