Skip to content

@pondoknusa/config

Typed configuration loading for Pondoknusa

Install

bash
npm install @pondoknusa/config

Metadata

FieldValue
Version2.0.0
Sourcepackages/config
CategoryKernel & HTTP
Node.js>=26

Public exports

From the package entry point (dist/index.d.ts). Deep imports are not supported.

Values

  • CONFIG_CACHE_RELATIVE_PATH
  • ConfigRepository
  • ConfigValidationError
  • buildConfigCacheManifest
  • collectBootEnvFailures
  • collectConfigFingerprints
  • collectConfigValidationFailures
  • configCachePath
  • env
  • envBool
  • envInt
  • fingerprintsMatch
  • formatConfigValidationFailures
  • loadConfig
  • loadConfigWithSchemas
  • loadEnv
  • mergeConfig
  • parseEnv
  • readConfigCacheManifest
  • requiredEnv
  • resolveConfigForBoot
  • s
  • validateBootEnv
  • validateConfig

Types

  • ConfigBootResult
  • ConfigCacheManifest
  • ConfigFileFingerprint
  • ConfigSchema
  • ConfigSchemaMap
  • ConfigTree
  • ConfigValidationFailure
  • LoadConfigOptions
  • LoadEnvOptions
  • LoadedConfig

Guide

See the Configuration guide for usage examples.

Released under the MIT License.