# gali

> gali is curry

Latest version **0.0.3** (published 2015-11-07) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-11-07 |
| First published | 2015-11-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | waksana@qq.com |
| Maintainers | waksana |
| Keywords | curry |

## Links

- npm: https://www.npmjs.com/package/gali
- Repository: https://github.com/waksana/gali
- Homepage: https://github.com/waksana/gali#readme
- Issues: https://github.com/waksana/gali/issues
- npm.io page: https://npm.io/package/gali

## Recent versions

- 0.0.3 (latest) — 2015-11-07
- 0.0.2 — 2015-11-07

## README

gali
======

partially apply and store like curry

```javascript
import gali from 'gali';

const fn = gali(function(a) {
  return a + 1;
}, function(a, b) {
  //a is calculated before
  return a + b;
}, function(a, b, c) {
  return b + c;
});

//all the same and return a + b + c + 1;

fn(1, 2, 3);
fn(1)(2, 3);
fn(1, 2)(3);
fn(1)(2)(3);

```

### API

```gali(fn, [fn...]);```

fn can be empty

```
gali(null, null, function(a, b, c) {
});
//is the same as
curry(function(a, b, c) {
});

//returns a function that accept 3 params and give the last back
gali(null, null, null);
```

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