# @earthtone/tiny-curry

> A curry function in JavaScript. That's it.

Latest version **0.0.3** (published 2019-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @earthtone/tiny-curry
pnpm add @earthtone/tiny-curry
yarn add @earthtone/tiny-curry
bun add @earthtone/tiny-curry
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-10-08 |
| First published | 2019-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tonio Hubilla |
| Maintainers | earthtone |
| Keywords | javascript, curry, fp |

## Links

- npm: https://www.npmjs.com/package/@earthtone/tiny-curry
- Repository: https://github.com/earthtone/tiny-curry
- Homepage: https://github.com/earthtone/tiny-curry#readme
- Issues: https://github.com/earthtone/tiny-curry/issues
- npm.io page: https://npm.io/package/@earthtone/tiny-curry

## Dependencies (1)

- [esm](https://npm.io/package/esm.md) ^3.2.25

## Recent versions

- 0.0.3 (latest) — 2019-10-08
- 0.0.2 — 2019-10-08
- 0.0.1 — 2019-10-08

## README

# Tiny Curry

A javascript curry function. That's it. Nothing else.

---

## Basic Usage

```js
import curry from '@earthtone/tiny-curry'

const get = curry((prop, obj) => obj[prop])
const getFirstName = get('first_name')

const result = getFirstName({
  first_name: 'Wally'
  last_name: 'West'
})

console.log(result) // -> 'Wally'
```

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