tc39/proposal-top-level-await resource
top-level `await` proposal for ECMAScript (stage 4) observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
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: 3145
- days_rel: n/a
- days_push: 1923
- n_releases_24m: 0
Adoption not part of the score
1081 stars · 45 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official TC39 ECMAScript proposal repository for top-level `await`, which reached Stage 4 and was merged into the JavaScript language specification. It contains the motivation, explainer, and formal specification text allowing `await` at the top level of ES modules.
Use cases
- understand how top-level await works in ES modules
- read the official spec text for top-level await
- learn why IIAFE patterns are problematic for async module initialization
- find motivation and semantics for awaiting resources at module top level
- reference the proposal when implementing ESM engines or bundlers
When to choose
- you need authoritative specification details or motivation for top-level await
- you are implementing a JavaScript engine, transpiler, or bundler that must support top-level await
- you want to understand async module evaluation semantics
When to avoid
- you want a tool or library to use top-level await rather than read about it
- you need runtime support itself - use a modern JavaScript engine instead
- you want tutorials rather than formal specification documents
Facets
learning-resource · maturity stable
programming-language interpreter developer-tools programming-languages web-development cross-platform ecmascript tc39 javascript language-proposal top-level-await esm specification stage-4 specifications
2 sources
- readme: https://github.com/tc39/proposal-top-level-await · fetched 2026-08-28 · 2cb62dd01e54
- homepage: https://tc39.github.io/proposal-top-level-await/ · fetched 2026-08-29 · 4816f89bab7d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tc39/proposal-top-level-await | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="tc39/proposal-top-level-await")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem