Mohammad Asif cf937194cb Removed un-waned things 1. | hace 6 meses | |
---|---|---|
.. | ||
.github | hace 6 meses | |
LICENSE | hace 6 meses | |
README.md | hace 6 meses | |
index.js | hace 6 meses | |
package.json | hace 6 meses | |
test.js | hace 6 meses |
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