0.0.3 • Published 7 months ago

@nodifier/stream v0.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

@nodifier/stream

Utility to convert readable stream to string in NodeJS

Getting started

Installing

npm install --save @nodifier/stream

Convert stream readable to string

import { streamToString } from '@nodifier/stream'

const str = streamToString(readableStream);

streamToString is an async function. If you are using it in the confine of a function/method, you'll need to be sure you added async/await.

async someFunction() {
    const str = await streamToString(readableStream);
}
0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago