# fj-pipe

> Pipe functions, FP style.

Latest version **1.1.0** (published 2015-02-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install fj-pipe
pnpm add fj-pipe
yarn add fj-pipe
bun add fj-pipe
```

## 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.1.0 |
| Published | 2015-02-15 |
| First published | 2015-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | hemanth, stoeffel |
| Keywords | fp-dom, fp, dom |

## Links

- npm: https://www.npmjs.com/package/fj-pipe
- Repository: https://github.com/fp-js/fj-pipe
- Issues: https://github.com/fp-js/fj-pipe/issues
- npm.io page: https://npm.io/package/fj-pipe

## Dependencies (1)

- [fj-compose](https://npm.io/package/fj-compose.md) ^1.1.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2015-02-15
- 1.0.4 — 2015-02-15
- 1.0.3 — 2015-02-15
- 1.0.2 — 2015-02-15
- 1.0.1 — 2015-02-15
- 1.0.0 — 2015-02-15

## README

# fj-pipe

[![Build Status](https://travis-ci.org/fp-js/fj-pipe.svg)](https://travis-ci.org/fp-js/fj-pipe) [![npm version](https://badge.fury.io/js/fj-pipe.svg)](http://badge.fury.io/js/fj-pipe)
> pipe with ease.

## Installation

`npm install fj-pipe --save`

## Usage

```js
var pipe = require('fj-pipe');

const add1 = (x) => x + 1,
mult2 = (x) => x * 2,
square = (x) => x * x;

const pipe1 = pipe(add1),
pipe2 = pipe(add1, mult2),
pipe3 = pipe(add1, mult2, square);

pipe1(0); // 1
// === add1(0)

pipe2(1); // 4
// === mult2(add1(0))

pipe3(1); // 16
// === square(mult2(add1(0)))

```

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