4 ms·
You might be interested in DeepKit[0]. In short, it enables introspection/reflection of typescript types at runtime, and builds off of that to do super interest
by davidatbu 4y ago
You might be interested in DeepKit[0]. In short, it enables introspection/reflection of typescript types at runtime, and builds off of that to do super interesting things like an ORM, an API framework, ... etc.
[0] https://deepkit.io/ https://deepkit.io/
- 323 4y agoThanks, their @deepkit/type is exactly what I would need, but it seems they do that by a TypeScript plugin, and I'm in an esbuild setup which completely bypasses TypeScript. But I will check if maybe I can use DeepKit to auto-generate files with the reflection info I need as a separate build step.