UNPKG

protodef

Version:

A simple yet powerful way to define binary protocols

12 lines (10 loc) 313 B
const ProtoDef = require("./protodef"); const proto = new ProtoDef(); module.exports = { ProtoDef:ProtoDef, Serializer:require("./serializer").Serializer, Parser:require("./serializer").Parser, FullPacketParser:require("./serializer").FullPacketParser, types:proto.types, utils:require("./utils") };