Parser
This is production ready.
Features
- 3x faster than swc parser (benchmark).
- Parses
.js(x)
and.ts(x)
. - Passes all parser tests from Test262 and 99% from Babel and TypeScript.
- Returns ESM information directly, no need for
es-module-lexer
. - ✅ works with checker.ts
Installation
Rust
Use the umbrella crate oxc or the individual oxc_ast and oxc_parser crates.
Rust usage example can be found here.
Node.js (NAPI)
Try the experimental node binding oxc-parser.