wallet-core/node_modules/stream-shift
2016-11-03 01:33:53 +01:00
..
.npmignore add node_modules to address #4364 2016-10-10 03:43:44 +02:00
.travis.yml add node_modules to address #4364 2016-10-10 03:43:44 +02:00
index.js add node_modules to address #4364 2016-10-10 03:43:44 +02:00
LICENSE add node_modules to address #4364 2016-10-10 03:43:44 +02:00
package.json node_modules 2016-11-03 01:33:53 +01:00
README.md add node_modules to address #4364 2016-10-10 03:43:44 +02:00
test.js add node_modules to address #4364 2016-10-10 03:43:44 +02: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