@contriwork/config-core
v0.2.0
Published
Cross-language static configuration loader — env + files + secret refs, schema-validated.
Readme
@contriwork/config-core (npm)
Node.js / TypeScript adapter for the ContriWork ConfigCore port. One API surface, three languages (Python / .NET / npm) — this package is the Node.js implementation.
Cross-language specification, contract, and release history live in the GitHub repository:
Sister packages: contriwork-config-core (PyPI), Contriwork.ConfigCore (NuGet).
Install
npm install @contriwork/config-core
# or: pnpm add @contriwork/config-core
# or: yarn add @contriwork/config-coreRequires Node.js ≥ 24. Dual-published ESM + CJS with bundled
.d.ts / .d.cts type declarations. Published with
npm provenance
via GitHub Actions OIDC.
Quick start
import type { ConfigCorePort } from "@contriwork/config-core";
// TODO: one-line example once the port has real methods.Local development
pnpm install --frozen-lockfile
pnpm test
pnpm typecheck
pnpm lint
pnpm buildLicense
MIT — see LICENSE.
