包详细信息

@jeswr/stream-to-string

jeswr14.2kMIT2.0.0

Convert a stream to a string

自述文件

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.