0.1.4 • Published 5 years ago

@speelpleinwerking.com/protobufs v0.1.4

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
5 years ago

Protocol buffers Build Status

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/protobufs

TypeScript

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 build

The tests are very simple. They only do a simple sanity check. To run the tests:

npm test

Docs

Latest docs built from master are available here.

0.1.4

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago