sensordb2 e64a8defe5 3.17 hai 1 ano
..
.travis.yml e64a8defe5 3.17 hai 1 ano
LICENSE e64a8defe5 3.17 hai 1 ano
README.md e64a8defe5 3.17 hai 1 ano
index.js e64a8defe5 3.17 hai 1 ano
package.json e64a8defe5 3.17 hai 1 ano
test.js e64a8defe5 3.17 hai 1 ano

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