Commit f83dc5c 1 parent 8de8bd6 commit f83dc5c Copy full SHA for f83dc5c
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ Cap’n Proto is an insanely fast data interchange format and capability-based R
18
18
19
19
## Usage
20
20
21
+ ### Compiling schema
22
+
21
23
Make sure ` capnpc ` command is available. You can find install instructions [ here] ( https://capnproto.org/install.html ) to install it.
22
24
23
25
Run the following to compile a schema file into typeScript/javascript source code:
@@ -67,7 +69,7 @@ This project is a rework<sup>1</sup> of [jdiaz5513/capnp-ts](https://github.com/
67
69
- [x] Enums are typed plain JS objects (this way ` .ts ` files work with strip-only ts loaders without enum support.)
68
70
- [x] Compiler CLI can directly accept a path to ` .capnp ` files and internally use ` capnpc `
69
71
- [ ] [ WIP] Use reflection (getter setters) to access structs.
70
- - [ ] [ TODO] Investigate runtime performance. Some language features make full traverse slow. ( especially on Node 20 , Bun is fast and all good)
72
+ - [ ] [ TODO] Investigate runtime performance. Some language features make full traverse slow, especially on Node.js < 22 , Bun is fast and all good.
71
73
- [ ] [ PLANNED] Investigate RPC level 1 (some progress [ here] ( https://github.com/jdiaz5513/capnp-ts/pull/169 ) )
72
74
- [ ] [ PLANNED] Investigate the possibility of bundling the wasm version of ` capnp `
73
75
You can’t perform that action at this time.
0 commit comments