get-stream
Version:
Get a stream as a string, Buffer, ArrayBuffer or array
14 lines (11 loc) • 289 B
JavaScript
import {on} from 'node:events';
import {finished} from 'node:stream/promises';
import {nodeImports} from './stream.js';
Object.assign(nodeImports, {on, finished});
export {
default,
getStreamAsArray,
getStreamAsArrayBuffer,
getStreamAsBuffer,
MaxBufferError,
} from './exports.js';