lhl 2bdf874dbb create il y a 1 an
..
.github 2bdf874dbb create il y a 1 an
LICENSE 2bdf874dbb create il y a 1 an
README.md 2bdf874dbb create il y a 1 an
index.js 2bdf874dbb create il y a 1 an
package.json 2bdf874dbb create il y a 1 an
test.js 2bdf874dbb create il y a 1 an

README.md

stream-shift

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

npm install stream-shift

build status

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