stream-shift (1.0.3)
Published 2026-02-24 14:05:34 +00:00 by atheaadmin
Installation
registry=npm install stream-shift@1.0.3"stream-shift": "1.0.3"About this package
stream-shift
Returns the next buffer/object in a stream's readable queue
npm install stream-shift
Usage
var shift = require('stream-shift')
console.log(shift(someStream)) // first item in its buffer
Credit
Thanks @dignifiedquire for making this work on node 6
License
MIT
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| standard | ^7.1.2 |
| tape | ^4.6.0 |
| through2 | ^2.0.1 |