tc39/proposal-pattern-matching resource
Pattern matching syntax for ECMAScript 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
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
- readme: https://github.com/tc39/proposal-pattern-matching · fetched 2026-08-28 · 2344686060ef
- homepage: https://tc39.es/proposal-pattern-matching/ · fetched 2026-08-29 · f112362d8903
- site_page: https://tc39.es/ecma262 · fetched 2026-08-29 · 2192ea51daed
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tc39/proposal-pattern-matching | main | 52 |
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