# stream-shift

> Returns the next buffer/object in a stream's readable queue

Latest version **1.0.3** (published 2024-01-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install stream-shift
pnpm add stream-shift
yarn add stream-shift
bun add stream-shift
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2024-01-17 |
| First published | 2016-07-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/stream-shift) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/stream-shift
- Repository: https://github.com/mafintosh/stream-shift
- Issues: https://github.com/mafintosh/stream-shift/issues
- npm.io page: https://npm.io/package/stream-shift

## Recent versions

- 1.0.3 (latest) — 2024-01-17
- 1.0.2 — 2024-01-10
- 1.0.1 — 2019-12-12
- 1.0.0 — 2016-07-08

## README

# stream-shift

Returns the next buffer/object in a stream's readable queue

```
npm install stream-shift
```

[![build status](http://img.shields.io/travis/mafintosh/stream-shift.svg?style=flat)](http://travis-ci.org/mafintosh/stream-shift)

## Usage

``` js
var shift = require('stream-shift')

console.log(shift(someStream)) // first item in its buffer
```

## Credit

Thanks [@dignifiedquire](https://github.com/dignifiedquire) for making this work on node 6

## License

MIT

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