# funf

> Minimal set of utilities needed to unblock functional programming.

Latest version **0.8.0** (published 2018-01-14) · MIT license · 0 weekly downloads

## Install

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

## 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.8.0 |
| Published | 2018-01-14 |
| First published | 2018-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Szymon Pilkowski |
| Maintainers | ardcore |
| Keywords | FP, functional, programming, curry, pipe, pick, omit, minimal |

## Links

- npm: https://www.npmjs.com/package/funf
- Repository: https://github.com/ardcore/funf
- Homepage: https://github.com/ardcore/funcore#readme
- Issues: https://github.com/ardcore/funcore/issues
- npm.io page: https://npm.io/package/funf

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.8.0 (latest) — 2018-01-14
- 0.7.0 — 2018-01-14
- 0.6.0 — 2018-01-09
- 0.0.5 — 2018-01-09
- 0.0.4 — 2018-01-09
- 0.0.3 — 2018-01-09
- 0.0.2 — 2018-01-09
- 0.0.1 — 2018-01-09

## README

# funf!

Minimal, hand-picked and well-tested utilities needed to unlock functional programming. Zero dependencies. Provided as CJS, UMD and ESM modules.

## Utilities

- `pipe`: _(a -> b) -> (b -> c) -> a -> c_
- `compose`: _(b -> c) -> (a -> b) -> a -> c_
- `pick`: _({a}) -> ([a]) -> {a}_
- `omit`: _({a}) -> ([a]) -> {a}_
- `head`: _([a]) -> a_
- `tail`: _([a]) -> [a]_
- `curry`: _((a, b) -> c) -> a -> b -> c_
- `zip`: - _([a], [b]) -> [[a, b]]_
- `prop`: - _(a) -> ({a}) -> a_

I may be adding more, but the intention is to find the perfect set of _core_ FP utilities and keep it as minimal as possible.

## Installation

`npm install funf --save` or `yarn add funf`

## Testing

`npm run test`

## License

MIT

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