Parser
The Rust crate oxc_parser
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.
- ✅ 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)
Use the experimental node binding oxc-parser.