@speelpleinwerking.com/protobufs
v0.1.4
Published
Protocol buffers and parsers for speelpleinwerking.com
Readme
Protocol buffers 
These protocol buffers define the data structures for speelpleinwerking.com. They are compiled to JS and TS with protobuf.js.
Usage
npm install @speelpleinwerking.com/protobufsTypeScript
import { Playground } from '@speelpleinwerking.com/protobufs';
Playground.verify({}); // 'canonicalName: string expected'
...See here for available methods on the types.
JavaScript
const models = require('@speelpleinwerking.com/protobufs')
models.Playground.verify({}) // 'canonicalName: string expected'
...See here for available methods on the types.
Development
To build the package (this will compile the .proto files to a .js and a .d.ts file):
npm run buildThe tests are very simple. They only do a simple sanity check. To run the tests:
npm testDocs
Latest docs built from master are available here.
