stream-shift
Returns the next buffer/object in a stream's readable queue
Last updated 5 months ago by mafintosh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install stream-shift 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (5 months ago)

2 Versions

  • 1.0.1                                ...           5 months ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 2,243
This Week 65,344
This Month 588,855
Last Day 31,852
Last Week 171,959
Last Month 731,588
Dependencies (0)
None
Dev Dependencies (3)

Copyright 2014 - 2017 © taobao.org |