dat-stream-replicator:数据流复制器

时间:2021-04-29 12:40:52
【文件属性】:
文件名称:dat-stream-replicator:数据流复制器
文件大小:7KB
文件格式:ZIP
更新时间:2021-04-29 12:40:52
JavaScript 数据流复制器 流复制的 npm install dat-stream-replicator 用法 var replicator = require ( 'dat-stream-replicator' ) var dat = datGraphInstance var otherDat = anotherDatGraphInstance var stream = replicator ( dat ) var otherStream = replicator ( otherDat ) stream . pipe ( otherStream ) . pipe ( stream ) 原料药 var stream = replicator(datGraph, [options]) 为实例创建一个新的复制流。 选项包括: { // gzip the nodes being sent. both
【文件预览】:
dat-stream-replicator-master
----DESIGN.md(2KB)
----example.js(450B)
----test.js(6KB)
----collaborators.md(465B)
----.travis.yml(62B)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(13B)
----index.js(5KB)
----package.json(887B)

网友评论