# pull-reader

> read bytes from a binary pull stream

Latest version **1.3.1** (published 2018-07-08) · MIT license · 0 weekly downloads

## Install

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

## 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.3.1 |
| Published | 2018-07-08 |
| First published | 2015-06-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Dominic Tarr |
| Maintainers | dominictarr |

## Links

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

## Recent versions

- 1.3.1 (latest) — 2018-07-08
- 1.3.0 — 2018-07-06
- 1.2.9 — 2017-04-04
- 1.2.8 — 2016-07-30
- 1.2.7 — 2016-07-29
- 1.2.6 — 2016-07-29
- 1.2.5 — 2016-04-06
- 1.2.4 — 2016-03-15
- 1.2.3 — 2016-03-15
- 1.2.2 — 2016-03-15
- 1.1.2 — 2015-08-01
- 1.1.1 — 2015-07-23
- 1.1.0 — 2015-06-07
- 1.0.1 — 2015-06-02

## README

# pull-reader

read bytes from a binary pull-stream


## example

``` js
var Reader = require('pull-reader')
var File = require('pull-file')
var reader = Reader(1000) //1 second timeout, abort upstream if read takes longer than this.


pull(
  File('./package.json'),
  reader
)

//read the first byte of a file
reader.read(1, function (err, data) {
  console.log(data.toString()) // => {
})

```

## License

MIT

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