# pull-through-end

> like pull.onEnd but as a through stream

Latest version **1.0.0** (published 2020-09-01) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2020-09-01 |
| First published | 2020-09-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jan Bölsche |
| Maintainers | regular |

## Links

- npm: https://www.npmjs.com/package/pull-through-end
- Repository: https://github.com/regular/pull-through-end
- Homepage: https://github.com/regular/pull-through-end#readme
- Issues: https://github.com/regular/pull-through-end/issues
- npm.io page: https://npm.io/package/pull-through-end

## Recent versions

- 1.0.0 (latest) — 2020-09-01

## README

pull-through-end
---

like `pull.onEnd` but as a trhough stream. Calls an async function when the stream is ending.

``` js
const onEnd = require('pull-through-end')

pull(
  source,
  onEnd( (err, cb) =>{
    // err is either null or an Error object
    if (err) console.error(err)
    cb() // arguments to cb are ignored
  }),
  sink
)
```

---
License: MIT

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