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 almost all from Babel and TypeScript.
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.