Zbind generates bindings for calling Zig from TypeScript

I made tooling to easily call Zig and generally include Zig code in TypeScript projects, both native and Wasm targets. Still a lot of work left to do with marshalling different types, but the API is starting to look pretty nice:

It’s a bit similar to Zigar mentioned here earlier but much lighter, provides static typing for Zig functions on TS side and doesn’t hide the Zig build config.

6 Likes