Irina Glushko 2389e7160b HW1 done | il y a 3 ans | |
---|---|---|
.. | ||
.travis.yml | il y a 3 ans | |
LICENSE | il y a 3 ans | |
README.md | il y a 3 ans | |
index.js | il y a 3 ans | |
package.json | il y a 3 ans | |
test.js | il y a 3 ans |
Returns the next buffer/object in a stream's readable queue
npm install stream-shift
var shift = require('stream-shift')
console.log(shift(someStream)) // first item in its buffer
Thanks @dignifiedquire for making this work on node 6
MIT