# chain-function

> chain a bunch of functions together into a single call

Latest version **1.0.1** (published 2018-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install chain-function
pnpm add chain-function
yarn add chain-function
bun add chain-function
```

## 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 | 1.0.1 |
| Published | 2018-07-27 |
| First published | 2015-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | jquense |
| Maintainers | monastic.panic |
| Keywords | chain, compose, function |

## Links

- npm: https://www.npmjs.com/package/chain-function
- Repository: https://github.com/jquense/chain-function
- Homepage: https://github.com/jquense/chain-function#readme
- Issues: https://github.com/jquense/chain-function/issues
- npm.io page: https://npm.io/package/chain-function

## Recent versions

- 1.0.1 (latest) — 2018-07-27
- 1.0.0 — 2015-10-06

## README

# chain-function
chain a bunch of functions

```sh
npm i chain-function
```

```js
 function foo() {
   console.log('foo')
 }
 
 function baz() {
   console.log('bar')
 }
 
 var foobar = chain(foo, bar)
 
 foobar() // "bar" "foo"
 
 //handles empty values just fine
 foobar = chain(foo, null, bar, undefined)
 
 foobar() // "bar" "foo"
```

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