sensordb2 e64a8defe5 3.17 | 1 rok pred | |
---|---|---|
.. | ||
.travis.yml | 1 rok pred | |
LICENSE | 1 rok pred | |
README.md | 1 rok pred | |
index.js | 1 rok pred | |
package.json | 1 rok pred | |
test.js | 1 rok pred |
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