mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 22:39:26 +01:00
stream-shift
Returns the next buffer/object in a stream's readable queue
npm install stream-shift
Usage
var shift = require('stream-shift')
console.log(shift(someStream)) // first item in its buffer
Credit
Thanks @dignifiedquire for making this work on node 6
License
MIT