Shannon_mu 9ea635a2dc 停车场 2 лет назад
..
.travis.yml 9ea635a2dc 停车场 2 лет назад
LICENSE 9ea635a2dc 停车场 2 лет назад
README.md 9ea635a2dc 停车场 2 лет назад
index.js 9ea635a2dc 停车场 2 лет назад
package.json 9ea635a2dc 停车场 2 лет назад
test.js 9ea635a2dc 停车场 2 лет назад

README.md

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