invariate

2.0.0 • Public • Published

Invariate

If

var f = invariate(function(name,value){})

then f can be called as

f(name,value)

or as

f({name1:value1,name2:value2,...})

in which case the function will be called for each (name,value) pair.

Additional parameters are passed as-is.

The return value is an array containing the return values of each function calls.

Readme

Keywords

none

Package Sidebar

Install

npm i invariate

Weekly Downloads

9

Version

2.0.0

License

Unlicense

Unpacked Size

8.04 kB

Total Files

5

Last publish

Collaborators

  • shimaore