hyperepg:从XMLTV来源同步并分发电子节目指南(EPG)

时间:2021-03-19 23:45:48
【文件属性】:
文件名称:hyperepg:从XMLTV来源同步并分发电子节目指南(EPG)
文件大小:15KB
文件格式:ZIP
更新时间:2021-03-19 23:45:48
distributed feed epg hypercore hypercore-protocol 超级心电图 从XMLTV来源同步并分发电子节目指南(EPG)。 安装 $ npm install hyperepg 用法 const hyperepg = require ( 'hyperepg' ) const feed = hyperepg ( 'https://example.com/xmltv/epg.xml' ) feed . ready ( ( ) => { feed . sync ( ) // will broadcast EPG } ) 原料药 feed = hyperepg(uri[, opts ]) HyperEPG Feed实例的工厂构造函数。 epg? = feed.sync() 同步网络中的Feed,以获取最新的EPG数据。 feed.save(document) 将文档保存到提要中。提要必须是可写的。 document = hyperepg.createD
【文件预览】:
hyperepg-master
----.eslintrc.json(8KB)
----.gitignore(2KB)
----package.json(953B)
----schema.proto(2KB)
----LICENSE(1KB)
----index.js(4KB)
----test.js(0B)
----examples()
--------builder.js(1KB)
--------feed.xml(8KB)
--------simple.js(258B)
----README.md(3KB)
----messages.js(52KB)
----.eslintignore(6B)

网友评论