Observatory reports / 2026
State of JavaScript Architecture 2026
State of JavaScript Architecture 2026 covers 43 published proofs and 10,997 modules in this Observatory snapshot.
Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
Trust path: Homepage → Validation → Repositories → Report
Snapshot window: 2026-11-15 – 2026-11-15 · 43 JavaScript proofs · 10,997 modules · 27,719 edges
Executive summary
Findings below are computed at build time from frozen Observatory analysis snapshots. No estimates or synthetic statistics.
- 43 indexable JavaScript proofs with a complete structural snapshot (module count and edge count both greater than zero).
- 10,997 modules and 27,719 dependency edges traced across included snapshots.
- Architecture scores in this edition range from 63.9 to 99.5 on the 0–100 snapshot scale. The median is 91.7.
- Highest recorded fan-in: 346 dependents on `src/database` in NodeBB.
- Largest blast radius: 573 downstream modules from `src/promisify` in NodeBB.
- 25 of 43 snapshots report one or more dependency cycles.
Corpus findings (v2)
Computed from the 43 indexable JavaScript proofs in this edition. Each figure is read from those snapshots.
88% of proofs in this edition have a god-module as the primary gravity center.
Primary gravity center role is "god-module" in 38 of 43 snapshots.
NodeBB `src/database` is a 8.9× fan-in outlier.
Fan-in 346 against the 90th percentile of 39 across the fan-in values recorded in this edition.
framework proofs score highest; library proofs score lowest in this edition.
Category averages: framework 93.7 (6 proofs) vs library 89.5 (35 proofs).
Dataset
The 43 indexable JavaScript proofs in this edition. Each one passes the Proof Density Rule and links to its public proof page. The findings above use this same set.
| Repository | Score | Modules | Edges | Cycles |
|---|---|---|---|---|
| Restify Restify | 99.5 | 58 | 73 | |
| Sails Sails | 99.1 | 110 | 117 | |
| mysql mysql | 98.8 | 65 | 88 | 1 |
| Karma Karma | 96.6 | 72 | 130 | |
| Knex Knex (lib) | 96.4 | 146 | 345 | |
| Eleventy Eleventy | 96.3 | 157 | 300 | |
| Axios Axios (lib) | 96.1 | 73 | 184 | |
| Async Async | 95.4 | 115 | 293 | 1 |
| Vega Vega | 95.3 | 559 | 1,043 | |
| Mocha Mocha | 95.3 | 71 | 174 | 1 |
| bruno bruno | 95.1 | 1,857 | 2,057 | 1 |
| svgo svgo | 94.8 | 77 | 236 | |
| jQuery jQuery | 94.4 | 138 | 418 | |
| Underscore Underscore | 94.2 | 177 | 444 | |
| Anime.js Anime.js | 93.9 | 70 | 249 | |
| validator.js validator.js | 92.9 | 114 | 258 | |
| gpu.js gpu.js | 92.7 | 122 | 337 | 1 |
| Detox Detox (detox) | 92.4 | 285 | 608 | |
| Chart.js Chart.js | 92.3 | 83 | 284 | 9 |
| OpenCLI OpenCLI | 92.2 | 113 | 326 | 1 |
| AVA AVA | 92 | 239 | 289 | |
| parse-server parse-server | 91.7 | 196 | 558 | 3 |
| p5.js p5.js | 91.6 | 155 | 412 | 10 |
| Leaflet Leaflet | 91.6 | 72 | 354 | 2 |
| PM2 PM2 | 91.2 | 207 | 429 | 12 |
| ESLint ESLint (lib) | 91 | 389 | 663 | |
| Ramda Ramda | 90 | 399 | 1,039 | |
| Moment Moment (src) | 90 | 96 | 353 | 11 |
| Less Less | 89 | 185 | 365 | 17 |
| Prettier Prettier (src) | 88.8 | 546 | 1,691 | 3 |
| jsdom jsdom (lib) | 88.1 | 408 | 997 | 16 |
| nightwatch nightwatch | 87.9 | 487 | 698 | 9 |
| Inferno Inferno | 87 | 129 | 239 | 8 |
| framework7 framework7 | 86.9 | 385 | 1,070 | |
| whistle whistle | 86.8 | 335 | 1,085 | 3 |
| Mongoose Mongoose | 85.7 | 272 | 809 | 23 |
| Stylus Stylus | 85.1 | 140 | 352 | 28 |
| OpenLayers OpenLayers | 84.8 | 374 | 1,777 | |
| Alpine.js Alpine.js | 83.7 | 117 | 237 | 37 |
| flexsearch flexsearch | 81.9 | 51 | 187 | 35 |
| NodeBB NodeBB | 72.9 | 627 | 2,838 | 100+ |
| Rollup Rollup | 67.4 | 271 | 1,833 | 100+ |
| Marko Marko | 63.9 | 455 | 1,480 | 89 |
Fan-in analysis
Highest fan-in modules across all included snapshots (from highRiskModules fields). Fan-in counts direct dependents in each repository's traced subgraph.
- NodeBB · src/database346 dependents
- NodeBB · src/meta203 dependents
- ESLint · rules/utils/ast-utils193 dependents
- NodeBB · src/plugins171 dependents
- NodeBB · src/user170 dependents
- NodeBB · src/utils163 dependents
- nightwatch · lib/utils136 dependents
- Ramda · source/internal/_curry2135 dependents
| Module | Fan-in | Repository | Risk |
|---|---|---|---|
| src/database | 346 | NodeBB | CRITICAL |
| src/meta | 203 | NodeBB | CRITICAL |
| rules/utils/ast-utils | 193 | ESLint | CRITICAL |
| src/plugins | 171 | NodeBB | CRITICAL |
| src/user | 170 | NodeBB | CRITICAL |
| src/utils | 163 | NodeBB | CRITICAL |
| lib/utils | 136 | nightwatch | CRITICAL |
| source/internal/_curry2 | 135 | Ramda | CRITICAL |
| biz/webui/htdocs/src/js/util | 117 | whistle | CRITICAL |
| document | 115 | Prettier | CRITICAL |
| entrypoints/main | 114 | AVA | CRITICAL |
| src/ast/nodes/shared/Node | 111 | Rollup | CRITICAL |
Blast radius analysis
Largest blast-radius modules (from hotspots fields) — downstream modules reachable when a node changes.
- NodeBB · src/promisify573 modules
- NodeBB · src/constants571 modules
- NodeBB · src/pagination567 modules
- NodeBB · src/pubsub567 modules
- NodeBB · src/slugify567 modules
- NodeBB · src/database566 modules
- NodeBB · src/meta566 modules
- nightwatch · lib/utils/chalkColors333 modules
| Module | Blast | Fan-in | Repository |
|---|---|---|---|
| src/promisify | 573 | 60 | NodeBB |
| src/constants | 571 | 23 | NodeBB |
| src/pagination | 567 | 28 | NodeBB |
| src/pubsub | 567 | 16 | NodeBB |
| src/slugify | 567 | 28 | NodeBB |
| src/database | 566 | 346 | NodeBB |
| src/meta | 566 | 203 | NodeBB |
| lib/utils/chalkColors | 333 | 3 | nightwatch |
| lib/utils/alwaysDisplayError | 332 | 3 | nightwatch |
| lib/transport/errors | 331 | 3 | nightwatch |
| lib/settings/defaults | 330 | 6 | nightwatch |
| lib/utils | 327 | 136 | nightwatch |
Architecture score distribution
Score spread across the 43 JavaScript proofs (arc analyze snapshot, 0–100). Range: 63.9 – 99.5. The dataset table lists every proof. The bars are the twelve highest scores.
- 99.5
- 99.1
- 98.8
- 96.6
- 96.4
- 96.3
- 96.1
- 95.4
- 95.3
- 95.3
- 95.1
- 94.8
Common structural patterns
Recurring hotspots and shared characteristics counted from snapshot fields — not inferred from industry samples.
Documented change-risk zones
Every snapshot with structural proof lists at least one change-risk zone (43 of 43).
God-module gravity centers
Primary gravity center role is "god-module" in 38 of 43 snapshots.
Utils modules as top fan-in signal
Highest fan-in module path contains "utils" or "util" in 12 of 43 snapshots.
- Knex · util/is
- Axios · utils
- Mocha · lib/utils
- bruno · packages/bruno-electron/src/utils/common
- validator.js · src/lib/util/assertString
Types modules as top fan-in signal
Highest fan-in module path contains "types" in 2 of 43 snapshots.
Key takeaways
- High fan-in modules are change-risk signals — inspect impact paths before refactoring shared types, utils, or config modules surfaced in this dataset.
- 38 of 43 snapshots label the primary gravity center as a god-module — a single module carrying disproportionate structural pull.
- 2 of 43 snapshots report layer violations — boundary crossings worth mapping before large moves.
- Each row in this report links to a frozen repository proof page — rerun arc impact locally on the module you plan to change before merge.
Methodology
Proof Density Rule. A repository enters this report only when its analysis snapshot has moduleCount > 0 and edgeCount > 0. Incomplete graphs are refused — same gate as public repository proof pages.
Inclusion. This edition includes every indexable JavaScript proof. The findings and the dataset table use that same set of 43 repositories. A later edition changes the snapshot set and keeps this builder.
Source of truth. Every metric is read from web/analysis-data/[slug].json files produced by npm run generate-analysis. Claims without snapshot backing are listed under excluded findings below.
Excluded findings (no snapshot evidence)
- Cross-repository break-path analysis omitted — riskChains appear in fewer than two snapshots.
- A claim that every snapshot records seo.language as javascript is omitted — it matches on 40 of 43.
- Industry-wide rankings omitted — this report describes the proofs in this edition.
- architectureClassification field omitted — not populated in any included snapshot.
- First-pass ingestion rate omitted — that figure belongs to the June expansion log.
- Framework-versus-application blast comparison omitted — one of those categories has fewer than 3 proofs in this edition.