|
před 1 týdnem | |
---|---|---|
.. | ||
.travis.yml | před 1 týdnem | |
LICENSE | před 1 týdnem | |
README.md | před 1 týdnem | |
index.js | před 1 týdnem | |
package.json | před 1 týdnem | |
test.js | před 1 týdnem |
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