Skip to content

sun0day/esm-lexer-rs

Repository files navigation

esm-lexer-rs

An ESM/CJS module syntax lexer written in Rust.

Why esm-lexer-rs

Compared to other ESM/CJS lexer libraries, esm-lexer-rs supports more wild module syntax with a smaller size and better parsing performance.

package module syntax installed size parsing time
esm-lexer-rs ESM/CJS/JSX/TSX/VUE
es-module-lexer ESM
rs-module-lexer ESM/JSX/TSX