stream-shift
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/stream-shift package

1.0.3 • Public • Published

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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i stream-shift

    Weekly Downloads

    15,759,278

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.46 kB

    Total Files

    6

    Last publish

    Collaborators

    • mafintosh