@orveth/core
Cross-cutting lifecycle contracts and a tiny helper for constructing immutable package metadata. The goal is to share vocabulary between long-lived components without importing HTTP- or IO-specific modules.
Interfaces
| Symbol | Purpose |
|---|---|
Disposable | dispose() releases resources; implementations may be sync or async. |
Initializable | init() performs startup work prior to steady-state operation. |
PackageMetadata | Read-only { name, version } pair for diagnostics and banners. |
createPackageMetadata(name, version)
Returns a frozen object suitable for embedding in runtime diagnostics. The helper does not perform IO.
import { createPackageMetadata } from "@orveth/core";
export const serviceMeta = createPackageMetadata("@orveth/server", "0.4.0");