Back to IssuesView on GitHub
#2
Challenging
Support Node/Deno (NAPI instead of bun:ffi)
Summary
The goal is to enable OpenTUI to run on Node.js by replacing the current Bun FFI (Foreign Function Interface) integration with NAPI (Node-API). This involves exploring the `napigen` tool to automate the creation of NAPI bindings from Zig code, allowing seamless interoperability between JavaScript/TypeScript and native code in both Bun and Node.js environments.
Skills Required
ZigTypeScriptNode.jsFFI/NAPI
Files Likely Touched
Labels
enhancement