capnpc-ts
Version:
Cap'n Proto schema compiler for TypeScript.
15 lines (9 loc) • 422 B
Markdown
# capnpc-ts
A [Cap'n Proto](https://capnproto.org/) schema compiler for TypeScript.
Basic usage (assuming [capnp](https://capnproto.org/capnp-tool.html) is already installed):
```shell
npm install -g capnpc-ts
capnpc -o ts path/to/myschema.capnp
```
This will generate a file at `path/to/myschema.capnp.ts`.
Visit [https://github.com/jdiaz5513/capnp-ts](https://github.com/jdiaz5513/capnp-ts) for an extended README.