pinus-parse-interface:解析接口为pinus-protobuf JSON

时间:2021-05-14 17:17:18
【文件属性】:
文件名称:pinus-parse-interface:解析接口为pinus-protobuf JSON
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-14 17:17:18
typescript parse protobuf pomelo pomelo-protocol parse TS interface to pinus-protobuf JSON 解析 ts 的interface 到 pinus-protobuf用的 json格式。 pinus: changelog v0.2.3: fix sort method. v0.2.2: 生成的消息做排序 v0.2.1: 支持 结构放到顶层 (默认的客户端不支持,需要修改客户端) v0.1.6: 支持 notify 消息。可以没有Response. v0.1.5: 文件统一解析。 加快解析速度 v0.1.3: 修复interface成员全部为可选时会出错的bug。 install npm install pinus-parse-interface or yarn add pinus-parse-interface usage const main = require('pinus-parse-inter
【文件预览】:
pinus-parse-interface-master
----.gitignore(30B)
----testInterface()
--------enumTest.ts(243B)
--------onAdd.ts(411B)
--------onRank.ts(826B)
--------rank.playerHandler.onlyNotify.ts(230B)
--------rank.playerHandler.beginGame.ts(595B)
--------share()
----tsconfig.json(328B)
----.github()
--------workflows()
----Readme.md(5KB)
----package.json(665B)
----dist()
--------main.js(9KB)
--------main.js.map(8KB)
--------index.js.map(131B)
--------utils.js.map(337B)
--------index.js(266B)
--------utils.js(390B)
----src()
--------utils.ts(263B)
--------main.ts(9KB)
--------index.ts(51B)
----renovate.json(41B)
----runTest.js(5KB)
----yarn.lock(11KB)

网友评论