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

tc39/proposal-pattern-matching resource

Pattern matching syntax for ECMAScript observed · 2026-08-28

github.com/tc39/proposal-pattern-matching · homepage · HTML · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

52/100

  • Activity 45
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: n/a
  • age_days: 3348
  • days_rel: n/a
  • days_push: 332
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

5789 stars · 90 forks observed · 2026-08-28

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

A TC39 Stage 1 proposal adding structural pattern matching syntax (a match expression) to ECMAScript/JavaScript. The repository hosts the proposal document and generated specification text rather than runnable software.

Use cases

  • add pattern matching to javascript
  • replace verbose switch statements in js
  • match on object structure in javascript
  • follow the tc39 pattern matching proposal status
  • understand proposed match expression syntax
  • compare switch vs pattern matching in ecmascript

When to choose

  • you want to track or give feedback on the future of JavaScript pattern matching syntax
  • you are researching language design or writing a transpiler/polyfill for proposed syntax
  • you need the official spec text for the match expression proposal

When to avoid

  • you need pattern matching you can run in production JavaScript today
  • you want a library or runtime tool rather than a language proposal
  • you need a finalized, standardized feature with browser support

Facets

learning-resource · maturity experimental

programming-language developer-tools programming-languages web-development cross-platform ecmascript tc39 language-proposal pattern-matching specification stage-1-proposal javascript specifications

3 sources

Member repositories

RepositoryRoleHealth v2
tc39/proposal-pattern-matchingmain52

For agents

markdown · JSON · MCP: product_card(name="tc39/proposal-pattern-matching")

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