首页 问答 Node.js 如何将 Readable(node:stream) pipe 到 WritableStream(Minimum common web API)?
问题详情

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))

回答

import stream from "node:stream";
stream.Readable.fromWeb
stream.Readable.toWeb
stream.Writable.fromWeb
stream.Writable.toWeb

版权:言论仅代表个人观点,不代表官方立场。转载请注明出处:https://www.stntk.com/question/248.html

发表评论
暂无评论

还没有评论呢,快来抢沙发~

点击联系客服

在线时间:8:00-16:00

客服QQ

70068002

客服电话

400-888-8888

客服邮箱

70068002@qq.com

扫描二维码

关注微信公众号

扫描二维码

手机访问本站