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 individual oxc_ast and oxc_parser crates.
Node.js
The node binding oxc-parser is available for experimental use.
Rust Usage
Check out this example.