0.7.3 • Published 12 months ago

hb-capnp-ts v0.7.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

capnp-ts

A strongly typed Cap'n Proto implementation for the browser and Node.js using TypeScript.

Here's a quick usage example:

import * as capnp from 'capnp-ts';

import {MyStruct} from './myschema.capnp';

export function loadMessage(buffer: ArrayBuffer): MyStruct {

  const message = capnp.Message.fromArrayBuffer(buffer);

  return message.getRoot(MyStruct);

}

An extended readme is available on the project site: https://github.com/jdiaz5513/capnp-ts.

0.7.3

12 months ago

0.7.2

12 months ago

0.7.1

12 months ago

0.7.0

12 months ago