npm.io
2.0.0 • Published 2 years ago

@jeswr/stream-to-string

Licence
MIT
Version
2.0.0
Deps
1
Size
5 kB
Vulns
0
Weekly
0

stream-to-string

Convert a stream to a string

GitHub license npm version build Dependabot semantic-release

Usage

import { Readable } from 'readable-stream';
import stringify from '@jeswr/stream-to-string';

// 'abc'
await stringify(Readable.from(['a', 'b', 'c']));

License

2024–present Jesse Wright, MIT License.