0.2.6 • Published 7 years ago

promise-from-stream v0.2.6

Weekly downloads
100
License
MIT
Repository
github
Last release
7 years ago

promise-from-stream

Promisify Readable Writable...Stream, is used for await/async

install

$ npm install --save promise-from-stream

Usage

const pfs = require('promise-from-stream')
async function d(){
    await pfs(
        new Readable().pipe(
            new Transform
        ).pipe(
                new Writable({
                    dest: filePath
                })
            )
    )
    //done
}
0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago