Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
/// <reference types="node"/>
import {Readable as ReadableStream} from 'stream';
declare const toReadableStream: {
/**
Convert a `string`/`Buffer`/`Uint8Array` to a [readable stream](https://nodejs.org/api/stream.html#stream_readable_streams).
@param input - Value to convert to a stream.
@example
```
import toReadableStream = require('to-readable-stream');
toReadableStream('🦄🌈').pipe(process.stdout);
```
*/
(input: string | Buffer | Uint8Array): ReadableStream;
// TODO: Remove this for the next major release, refactor the whole definition to:
// declare function toReadableStream(
// input: string | Buffer | Uint8Array
// ): ReadableStream;
// export = toReadableStream;
default: typeof toReadableStream;
};
export = toReadableStream;