UNPKG
from-node-stream
Version:
latest (0.2.0)
0.2.0
0.1.2
0.1.0
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
convert nodejs-stream into webstream
github.com/snomiao/from-node-stream
snomiao/from-node-stream
from-node-stream
/
dist
/
fromReadable.d.ts
3 lines
(2 loc)
•
165 B
TypeScript
View Raw
1
2
3
import
type
{
Readable
}
from
"stream"
;
export
declare
function
fromReadable<T
extends
string
|
Uint8Array
>(
i
:
Readable
|
NodeJS
.
ReadableStream
):
ReadableStream
<T>;