|
||||
---|---|---|---|---|
.. | ||||
.npmignore | 11e3a9652a | 7 anni fa | ||
.travis.yml | 11e3a9652a | 7 anni fa | ||
LICENSE | 11e3a9652a | 7 anni fa | ||
README.md | 11e3a9652a | 7 anni fa | ||
index.js | 11e3a9652a | 7 anni fa | ||
package.json | 11e3a9652a | 7 anni fa | ||
test.js | 11e3a9652a | 7 anni fa |
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