# piton-pipe

> Build and run an Async pipeline of functions

Latest version **0.0.4** (published 2012-09-06) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2012-09-06 |
| First published | 2011-08-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.6 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Paul Serby |
| Maintainers | serby |
| Keywords | pipe |

## Links

- npm: https://www.npmjs.com/package/piton-pipe
- Repository: https://github.com/serby/piton-pipe
- npm.io page: https://npm.io/package/piton-pipe

## 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.0.4 (latest) — 2012-09-06
- 0.0.3 — 2011-12-17
- 0.0.2 — 2011-08-19

## README

# piton-pipe - Build and run an Async pipeline of functions.

An input value is given to the pipe and passed each function in turn.
This allows async operations to process the value.

## Installation

      npm install piton-pipe

## Usage

     var pipe = require('piton-pipe').createPipe(['onCreate']);
     pipe.add(function(value, callback) {
      callback(null, value + 2;
     });
     pipe.add(function(value, callback) {
      callback(null, value / 3);
     });
     var value = 7;
     pipe.run(value, function(error, newValue) {
       console.log(newValue);
     });

## Credits
* [Paul Serby](https://github.com/serby/)

## Licence
Licenced under the [New BSD License](http://opensource.org/licenses/bsd-license.php)

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