# currify

> translate the evaluation of a function that takes multiple arguments into evaluating a sequence of functions, each with a single or more arguments

Latest version **4.0.0** (published 2019-09-19) · MIT license · 0 weekly downloads

## Install

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

## 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 | 4.0.0 |
| Published | 2019-09-19 |
| First published | 2015-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | currify, partial, functional |

## Links

- npm: https://www.npmjs.com/package/currify
- Repository: https://github.com/coderaiser/currify
- Issues: https://github.com/coderaiser/currify/issues
- npm.io page: https://npm.io/package/currify

## Recent versions

- 4.0.0 (latest) — 2019-09-19
- 3.0.0 — 2018-10-09
- 2.0.6 — 2017-07-14
- 2.0.5 — 2017-07-14
- 2.0.4 — 2017-05-23
- 2.0.3 — 2016-12-05
- 2.0.2 — 2016-11-23
- 2.0.1 — 2016-11-23
- 2.0.0 — 2016-11-23
- 1.0.0 — 2015-11-10

## README

# Currify [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL]

Translate the evaluation of a function that takes multiple arguments into evaluating a sequence of functions, each with a single or more arguments.

## Install

```
npm i currify --save
```

## How to use?

```js
const currify = require('currify');

const mean = (a, b, c) => (a + b) / c;
const mean1 = currify(mean, 1);
const mean2 = mean1(2);

mean2(2);
// returns
1.5
```

## Related

- [fullstore](https://github.com/coderaiser/fullstore "fullstore") - functional variables.

- [zames](https://github.com/coderaiser/zames "zames") - converts callback-based functions to Promises and apply currying to arguments

- [wraptile](https://github.com/coderaiser/wraptile "wraptile") - translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with a any count of arguments.

## License

MIT

[NPMIMGURL]:                https://img.shields.io/npm/v/currify.svg?style=flat
[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/currify/master.svg?style=flat
[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/currify.svg?style=flat
[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
[NPMURL]:                   https://npmjs.org/package/currify "npm"
[BuildStatusURL]:           https://travis-ci.org/coderaiser/currify  "Build Status"
[DependencyStatusURL]:      https://david-dm.org/coderaiser/currify "Dependency Status"
[LicenseURL]:               https://tldrlegal.com/license/mit-license "MIT License"

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