Naughty Praying Mantis

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

    1.0.1 • 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

    Keywords

    none

    Install

    npm i stream-shift

    DownloadsWeekly Downloads

    14,299,485

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • mafintosh