3 ms·
I work with a couple type-dense libraries: Elysia and Kysely. Kysely holds up remarkably well. Elysia... Well... Elysia is a backend framework like express. As
by internetter 2y ago
I work with a couple type-dense libraries: Elysia and Kysely. Kysely holds up remarkably well. Elysia... Well...
Elysia is a backend framework like express. As you construct your routes — annotating the input structure and return types, it constructs a HUGE MEGA TYPE, that you can then use with a thin query client:
https://elysiajs.com/eden/overview https://elysiajs.com/eden/overview
If I recall, the query client uses proxies. I did something similar before, this one is a much smaller codebase:
https://github.com/boehs/ajar https://github.com/boehs/ajar
But as you can imagine, typescript does begin to lag when your routes enter the hundreds