Snapshot for
@system-core/core0.8.x. Current docs live at /.
packages/config
Generated Reference
Shared configuration loading and schema helpers for downstream tooling and integrations. This page is generated from packages/config/index.ts against package version 0.8.1 on the 0.8 docs line.
Import
ts
import { createConfig, parseEnv } from '@system-core/core/packages/config'Entry
| Field | Value |
|---|---|
| Import path | @system-core/core/packages/config |
| Package export | ./packages/config |
| Source entry | packages/config/index.ts |
| Exported symbols | 4 |
| Runtime file | ./dist/packages/config.js |
| Types file | ./dist/packages/config.d.ts |
Use This Surface When
- Use this for shared config parsing and schema alignment across package consumers.
- Reach for it when external tooling needs the same config contract as the runtime.
- Keep config behavior centralized instead of duplicating environment parsing logic.
Public Surface
Functions
| Export | Kind | Source |
|---|---|---|
createConfig | function | core/logic/core/config.ts |
parseEnv | function | core/logic/core/config.ts |
Types
| Export | Kind | Source |
|---|---|---|
Config | type | core/logic/core/config.ts |
EnvSchema | type | core/logic/core/config.ts |