sensordb2 e64a8defe5 3.17 il y a 1 an
..
.travis.yml e64a8defe5 3.17 il y a 1 an
LICENSE e64a8defe5 3.17 il y a 1 an
README.md e64a8defe5 3.17 il y a 1 an
index.js e64a8defe5 3.17 il y a 1 an
package.json e64a8defe5 3.17 il y a 1 an
test.js e64a8defe5 3.17 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