Skip to content

Parser

  • total downloads from crates.io

The Rust crate oxc_parser is production ready.

Features

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.

This package does not have an AST visitor nor TypeScript typings for the AST yet.

ESM Module Lexer

  • Use the npm package oxc-parser with the API moduleLexerSync.
  • Use the crate oxc_module_lexer.

Released under the MIT License.