crates/oxc_napi/README.md
Node.js Native API bindings for oxc tools.
This crate provides Node.js bindings for oxc tools, enabling JavaScript/TypeScript applications to use oxc's high-performance parsing, linting, and transformation capabilities through native Node.js modules.
JavaScript uses UTF-16 string encoding, while Rust uses UTF-8. This crate handles the conversion:
The bindings are designed for:
@oxc-project/ npm packagesProvides JavaScript-friendly error handling:
This crate enables the broader JavaScript ecosystem to benefit from oxc's performance while maintaining familiar JavaScript APIs.