eventuate-stream:从最终创建双工流

时间:2024-05-25 13:01:36
【文件属性】:

文件名称:eventuate-stream:从最终创建双工流

文件大小:5KB

文件格式:ZIP

更新时间:2024-05-25 13:01:36

JavaScript

最后流 从最终创建节点样式的双工流 例子 var eventuate = require ( 'eventuate' ) , eventuateStream = require ( 'eventuate-stream' ) , jsonstream = require ( 'jsonstream' ) var request = eventuate ( ) var requestStream = eventuateStream ( request ) requestStream . pipe ( jsonstream . stringify ( false ) ) . pipe ( process . stdout ) request ( function onRequest ( req ) { console . log ( '\nGot


【文件预览】:
eventuate-stream-master
----.gitignore(38B)
----package.json(1007B)
----Makefile(2KB)
----.travis.yml(186B)
----LICENSE(1KB)
----index.js(521B)
----README.md(2KB)
----example()
--------usage.js(473B)
----test()
--------stream.js(1KB)

网友评论