首页 新闻 会员 周边

Node.js 如何将 Readable(node:stream) pipe 到 WritableStream(Minimum common web API)?

0
悬赏园豆:50 [已解决问题] 解决于 2026-01-16 11:36

How to pipe from Readable(node:stream) to WritableStream(Minimum common web API) in Node.js (or the other way around, ReadableStream(Minimum common web API) to Writable(node:stream))?

如题

还有反过来(ReadableStream(Minimum common web API) pipe 到 Writable(node:stream))

145a的主页 145a | 初学一级 | 园豆:166
提问于:2026-01-02 21:11
< >
分享
最佳答案
0
import stream from "node:stream";
stream.Readable.fromWeb
stream.Readable.toWeb
stream.Writable.fromWeb
stream.Writable.toWeb
145a | 初学一级 |园豆:166 | 2026-01-02 21:27
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册