ships.modules all.Variable.ALL_MODULES - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / ships/modules-all / ALL_MODULES

Variable: ALL_MODULES

const ALL_MODULES: readonly OutfittingModule[]

Defined in: src/ships/modules-all.ts:42

Every outfitting module — the concatenation of CORE_MODULES, INTERNAL_MODULES, HARDPOINT_MODULES and UTILITY_MODULES, in that order (each in Frontier's registry order).

Remarks

Filter on OutfittingModule.category to narrow it down after the fact — though importing the single catalogue you need is cheaper, since it keeps the others out of your bundle entirely.

Example

import { ALL_MODULES } from '@elite-dangerous-almanac/core/ships/modules-all';

ALL_MODULES.find((m) => m.symbol === 'Hpt_PulseLaser_Fixed_Small')?.category; // -> 'hardpoint'
⚠️ **GitHub.com Fallback** ⚠️