Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    util-invokepublic

    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

    install

    npm i util-invoke

    Downloadsweekly downloads

    2

    version

    1.0.1

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar