Евгения Акиншина 52274d6dab HW<react> done il y a 3 ans
..
.travis.yml 52274d6dab HW<react> done il y a 3 ans
LICENSE 52274d6dab HW<react> done il y a 3 ans
README.md 52274d6dab HW<react> done il y a 3 ans
index.js 52274d6dab HW<react> done il y a 3 ans
package.json 52274d6dab HW<react> done il y a 3 ans
test.js 52274d6dab HW<react> done il y a 3 ans

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