Ross ROSS = Recommend OSS · open-source software intelligence for agents

guybedford/es-module-lexer

Low-overhead lexer dedicated to ES module parsing for fast analysis observed · 2026-08-28

github.com/guybedford/es-module-lexer · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 86
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 35
  • age_days: 2582
  • days_rel: 17
  • days_push: 9
  • n_releases_24m: 8

Full methodology

Adoption not part of the score

1031 stars · 60 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A tiny, fast JavaScript lexer (~7KiB gzipped with inlined WebAssembly) that parses ES module syntax to extract export names and import specifier locations, including dynamic import, import.meta, import attributes, and source phase imports. It is used by es-module-shims and is far faster than full JS parsers like Acorn.

Use cases

  • extract import and export metadata from ES module source code
  • statically analyze JS modules without a full parser
  • rewrite or transform import specifiers in bundled code
  • detect dynamic imports and import attributes in source
  • fast module graph analysis for bundlers or shims

When to choose

  • you need import/export info from ES modules at very high speed
  • you want a tiny dependency with no full parser overhead
  • you need support for the latest module syntax like import attributes and source phase imports

When to avoid

  • you need a full AST or to evaluate arbitrary JS syntax
  • you need to parse CommonJS or non-module JavaScript
  • you need scope or semantic analysis of code

Facets

library · maturity stable

parser developer-tools web-development frontend developer-tools parsers browser wasm es-modules lexer wasm static-analysis import-export-metadata module-shims javascript nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
guybedford/es-module-lexermain95

For agents

markdown · JSON · MCP: product_card(name="guybedford/es-module-lexer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem