676ec2da14 前端页面完成 4 лет назад
..
.travis.yml 676ec2da14 前端页面完成 4 лет назад
LICENSE 676ec2da14 前端页面完成 4 лет назад
README.md 676ec2da14 前端页面完成 4 лет назад
index.js 676ec2da14 前端页面完成 4 лет назад
package.json 676ec2da14 前端页面完成 4 лет назад
test.js 676ec2da14 前端页面完成 4 лет назад

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