# invariate

> Functional wrapper that supports objects-to-multiple-calls

Latest version **2.0.0** (published 2019-06-19) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install invariate
pnpm add invariate
yarn add invariate
bun add invariate
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2019-06-19 |
| First published | 2015-11-06 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Stéphane Alnet |
| Maintainers | shimaore |

## Links

- npm: https://www.npmjs.com/package/invariate
- Repository: https://gitlab.com/shimaore/invariate
- Issues: https://gitlab.com/shimaore/invariate/issues
- npm.io page: https://npm.io/package/invariate

## Recent versions

- 2.0.0 (latest) — 2019-06-19
- 1.3.1 — 2016-11-08
- 1.3.0 — 2016-03-07
- 1.2.0 — 2015-12-28
- 1.1.0 — 2015-12-22
- 1.0.0 — 2015-11-06

## README

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.

---
_Source: https://npm.io/package/invariate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
