API
Library API for the published @stainless-code/codemap package entry.
One package entry — everything below is re-exported from @stainless-code/codemap. Quick start: Programmatic. Hub: Reference.
Experimental — the API may change between minor releases. Pin your version. Pre-1.0: breaking changes ship in minor releases (0.x → 0.y), not majors.
Library surface
createCodemap
Index / query runtime — createCodemap, Codemap
defineConfig
Config helpers + Zod schemas
Adapters
LanguageAdapter, BUILTIN_ADAPTERS, …
Types
Config, parse, and adapter types
import {
createCodemap,
defineConfig,
BUILTIN_ADAPTERS,
CODEMAP_VERSION,
} from "@stainless-code/codemap";