XuelesszzZ 94af2b8e7b 6-30-5 | 1 gadu atpakaļ | |
---|---|---|
.. | ||
.travis.yml | 1 gadu atpakaļ | |
LICENSE | 1 gadu atpakaļ | |
README.md | 1 gadu atpakaļ | |
index.js | 1 gadu atpakaļ | |
package.json | 1 gadu atpakaļ | |
test.js | 1 gadu atpakaļ |
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