astro.Variable.CODEX_REGIONS - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / astro / CODEX_REGIONS
constCODEX_REGIONS: readonlyCodexRegion[]
Defined in: src/astro/codex-region.ts:129
All 42 galactic regions, ordered by id (index i holds region id i + 1).
This loads only galactic-regions.jsonc (region metadata); the lookup cell grid
lives in a separate module, so importing this never bundles it.
import { CODEX_REGIONS } from '@elite-dangerous-almanac/core/astro/codex-region';
CODEX_REGIONS.length; // -> 42
CODEX_REGIONS[0]?.name; // -> 'Galactic Centre'