ShenNong_Simple/packages/字体精简工具/node_modules/stream-shift
2024-10-30 15:28:42 +08:00
..
.travis.yml 神农简化版 2024-10-30 15:28:42 +08:00
index.js 神农简化版 2024-10-30 15:28:42 +08:00
LICENSE 神农简化版 2024-10-30 15:28:42 +08:00
package.json 神农简化版 2024-10-30 15:28:42 +08:00
README.md 神农简化版 2024-10-30 15:28:42 +08:00
test.js 神农简化版 2024-10-30 15:28:42 +08: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