mirror of https://github.com/nodejs/node.git
57 lines
1.3 KiB
JavaScript
57 lines
1.3 KiB
JavaScript
'use strict';
|
|
|
|
const {
|
|
TransformStream,
|
|
TransformStreamDefaultController,
|
|
} = require('internal/webstreams/transformstream');
|
|
|
|
const {
|
|
WritableStream,
|
|
WritableStreamDefaultController,
|
|
WritableStreamDefaultWriter,
|
|
} = require('internal/webstreams/writablestream');
|
|
|
|
const {
|
|
ReadableStream,
|
|
ReadableStreamDefaultReader,
|
|
ReadableStreamBYOBReader,
|
|
ReadableStreamBYOBRequest,
|
|
ReadableByteStreamController,
|
|
ReadableStreamDefaultController,
|
|
} = require('internal/webstreams/readablestream');
|
|
|
|
const {
|
|
ByteLengthQueuingStrategy,
|
|
CountQueuingStrategy,
|
|
} = require('internal/webstreams/queuingstrategies');
|
|
|
|
const {
|
|
TextEncoderStream,
|
|
TextDecoderStream,
|
|
} = require('internal/webstreams/encoding');
|
|
|
|
const {
|
|
CompressionStream,
|
|
DecompressionStream,
|
|
} = require('internal/webstreams/compression');
|
|
|
|
module.exports = {
|
|
ReadableStream,
|
|
ReadableStreamDefaultReader,
|
|
ReadableStreamBYOBReader,
|
|
ReadableStreamBYOBRequest,
|
|
ReadableByteStreamController,
|
|
ReadableStreamDefaultController,
|
|
TransformStream,
|
|
TransformStreamDefaultController,
|
|
WritableStream,
|
|
WritableStreamDefaultWriter,
|
|
WritableStreamDefaultController,
|
|
ByteLengthQueuingStrategy,
|
|
CountQueuingStrategy,
|
|
TextEncoderStream,
|
|
TextDecoderStream,
|
|
CompressionStream,
|
|
DecompressionStream,
|
|
};
|