An ESM/CJS module syntax lexer written in Rust.
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 |