django-vue3-admin-web/node_modules/stream-shift
2025-10-20 21:21:14 +08:00
..
.github/workflows 初始化 2025-10-20 21:21:14 +08:00
index.js 初始化 2025-10-20 21:21:14 +08:00
LICENSE 初始化 2025-10-20 21:21:14 +08:00
package.json 初始化 2025-10-20 21:21:14 +08:00
README.md 初始化 2025-10-20 21:21:14 +08:00
test.js 初始化 2025-10-20 21:21:14 +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