Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
/ invoke Public archive

Functional utility for invoking the same method on every call in JavaScript

License

Notifications You must be signed in to change notification settings

blakeembrey/invoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invoke

NPM version Build status Test coverage Greenkeeper badge

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

About

Functional utility for invoking the same method on every call in JavaScript

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages