rs-module-lexer: Rust-powered ES Module Parser

JSON →
library 2.8.0 ·javascript
verified May 27, 2026

rs-module-lexer is an ES module parser built with Rust, offering a drop-in compatible output data structure with `es-module-lexer`. Currently at version 2.8.0, it maintains an active release cadence with frequent minor updates. Its key differentiator is the ability to directly parse TypeScript (TS/TSX) and JSX files, unlike `es-module-lexer` which necessitates a prior transformation step. Powered by SWC, this library collapses the transform and parse steps into a single API call, streamlining module analysis in bundlers and build tools. It's designed for scenarios requiring fast and accurate identification of imports and exports across various JavaScript and TypeScript syntaxes, providing a consistent API and data format.

total hits 16
actors 7 distinct systems
last hit 6d ago MetaBot
GPTBot
5
MetaBot
4
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇳🇱 Netherlands