# pull-through

> through ported to pull-stream style

Latest version **1.0.18** (published 2016-03-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install pull-through
pnpm add pull-through
yarn add pull-through
bun add pull-through
```

## 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.18 |
| Published | 2016-03-30 |
| First published | 2013-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Dominic Tarr |
| Maintainers | dominictarr |

## Links

- npm: https://www.npmjs.com/package/pull-through
- Repository: https://github.com/dominictarr/pull-through
- Issues: https://github.com/dominictarr/pull-through/issues
- npm.io page: https://npm.io/package/pull-through

## Dependencies (1)

- [looper](https://npm.io/package/looper.md) ~3.0.0

## Recent versions

- 1.0.18 (latest) — 2016-03-30
- 1.0.17 — 2015-06-08
- 1.0.16 — 2015-06-08
- 1.0.14 — 2014-10-19
- 1.0.12 — 2014-04-29
- 1.0.11 — 2014-04-29
- 1.0.10 — 2013-07-17
- 1.0.9 — 2013-07-05
- 1.0.8 — 2013-07-05
- 1.0.7 — 2013-05-05
- 1.0.6 — 2013-04-19
- 1.0.5 — 2013-03-25
- 1.0.4 — 2013-03-24

## README

# pull-through

[through](https://github.com/dominictarr/through) ported to 
[pull-stream](https://github.com/dominictarr/pull-stream) style.

## Example

Same Good Old Api, Brand New Underlying Mechanism.

``` js
var through = require('pull-through')

var ts = through(function (data) {
  this.queue(data)
}, function (end) {
  this.queue(null)
})
```

## Incompatibility

### DON'T
use `var self = this`, don't keep a reference.

``` js
var WRONG = through(function (data) { WRONG.queue(data) })
```

### DO

``` js
through(function (data) { this.queue(data) })
```

Maybe this will change. this is a little more tricky with pull-streams, though.

## License

MIT

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