diff options
Diffstat (limited to 'ext/node/polyfills/stream.ts')
-rw-r--r-- | ext/node/polyfills/stream.ts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ext/node/polyfills/stream.ts b/ext/node/polyfills/stream.ts new file mode 100644 index 000000000..aac96a76e --- /dev/null +++ b/ext/node/polyfills/stream.ts @@ -0,0 +1,37 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// compose, destroy and isDisturbed are experimental APIs without +// typings. They can be exposed once they are released as stable in Node + +// @deno-types="./_stream.d.ts" +import { + _isUint8Array, + _uint8ArrayToBuffer, + addAbortSignal, + // compose, + // destroy, + Duplex, + finished, + // isDisturbed, + PassThrough, + pipeline, + Readable, + Stream, + Transform, + Writable, +} from "internal:deno_node/polyfills/_stream.mjs"; + +export { + _isUint8Array, + _uint8ArrayToBuffer, + addAbortSignal, + Duplex, + finished, + PassThrough, + pipeline, + Readable, + Stream, + Transform, + Writable, +}; + +export default Stream; |