DigitalConsumer.FixMyGlass/node_modules/stream-shift
2021-09-20 17:57:19 -04:00
..
.travis.yml initial commit 2021-09-20 17:57:19 -04:00
index.js initial commit 2021-09-20 17:57:19 -04:00
LICENSE initial commit 2021-09-20 17:57:19 -04:00
package.json initial commit 2021-09-20 17:57:19 -04:00
README.md initial commit 2021-09-20 17:57:19 -04:00
test.js initial commit 2021-09-20 17:57:19 -04:00

stream-shift

Returns the next buffer/object in a stream's readable queue

npm install stream-shift

build status

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