New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

invariate

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

invariate

Functional wrapper that supports objects-to-multiple-calls

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
10
-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 19 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts