# @iaziz786/pipe

> A utility function to use to create pipe line operations for your JavaScript applications.

Latest version **1.0.0** (published 2019-06-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @iaziz786/pipe
pnpm add @iaziz786/pipe
yarn add @iaziz786/pipe
bun add @iaziz786/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.0.0 |
| Published | 2019-06-28 |
| First published | 2019-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Mohammad Aziz |
| Maintainers | iaziz786 |

## Links

- npm: https://www.npmjs.com/package/@iaziz786/pipe
- Repository: https://github.com/iAziz786/pipe
- Homepage: https://github.com/iAziz786/pipe#readme
- Issues: https://github.com/iAziz786/pipe/issues
- npm.io page: https://npm.io/package/@iaziz786/pipe

## Recent versions

- 1.0.0 (latest) — 2019-06-28

## README

# pipe :shower: [![Build Status](https://travis-ci.org/iAziz786/pipe.svg?branch=master)](https://travis-ci.org/iAziz786/pipe)

A utility function to use to create pipe line operations for your JavaScript applications.

### What is a pipe line operation?

A pipeline operation is bunch of function call that starts with a value and the result
of last function call is the parameter of the next function call. The sequence of the call
matters. If we change the sequence then the result will be very different.

#### Example

```js
const pipe = require('pipe');

const initialPrice = 5;
const coffeePrice = pipe(
  initialPrice,
  double,
  triple
);

console.log(coffeePrice); // result: 30

function double(num) {
  return num * 2;
}

function triple(num) {
  return num * 3;
}
```

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