Dashboard sipadu mbip
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
root 654479ece4 mbip 5 年前
..
.npmignore mbip 5 年前
.travis.yml mbip 5 年前
LICENSE mbip 5 年前
README.md mbip 5 年前
index.js mbip 5 年前
package.json mbip 5 年前
test.js mbip 5 年前

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