1.0.1 • Published 11 years ago

util-invoke v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
11 years ago

Invoke

NPM version Build status Test coverage Gittip

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

1.0.1

11 years ago

1.0.0

11 years ago