Skip to content

Commit 8802b6c

Browse files
chore: apply automated updates
1 parent d31dc5e commit 8802b6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
1717
Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think [Protocol Buffers](https://github.com/protocolbuffers/protobuf), except faster. Cap’n Proto was built by [Kenton Varda](https://github.com/kentonv) to be used in [Sandstorm](https://capnproto.org/faq.html#sandstorm) and is now heavily used in [Cloudflare](https://capnproto.org/faq.html#cloudflare). Start with the [Cap'n Proto Introduction](https://capnproto.org/index.html) for more detailed information on what this is about.
1818

19-
2019
## Usage
2120

2221
Make sure `capnpc` command is available. You can find install instructions [here](https://capnproto.org/install.html) to install it.
@@ -26,7 +25,9 @@ Run the following to compile a schema file into typeScript/javascript source cod
2625
```shell
2726
npx capnp-es --ts --dts --js path/to/myschema.capnp
2827
```
28+
2929
or
30+
3031
```shell
3132
capnpc -o- path/to/myschema.capnp | npx capnp-es --ts --dts --js
3233
```
@@ -66,11 +67,10 @@ This project is a rework<sup>1</sup> of [jdiaz5513/capnp-ts](https://github.com/
6667
- [x] Enums are typed plain JS objects (this way `.ts` files work with strip-only ts loaders without enum support.)
6768
- [x] Compiler CLI can directly accept a path to `.capnp` files and internally use `capnpc`
6869
- [ ] [WIP] Use reflection (getter setters) to access structs.
69-
- [ ] [TODO] Investigate runtime performance. Some language features make full traverse slow. (especially on Node 20, Bun is fast and all good)
70+
- [ ] [TODO] Investigate runtime performance. Some language features make full traverse slow. (especially on Node 20, Bun is fast and all good)
7071
- [ ] [PLANNED] Investigate RPC level 1 (some progress [here](https://github.com/jdiaz5513/capnp-ts/pull/169))
7172
- [ ] [PLANNED] Investigate the possibility of bundling the wasm version of `capnp`
7273

73-
7474
## Development
7575

7676
<details>

0 commit comments

Comments
 (0)