Skip to content

@tyravel/config

Typed configuration loading for Tyravel

Install

bash
npm install @tyravel/config

Metadata

FieldValue
Version1.0.1
Sourcepackages/config
CategoryKernel & HTTP
Node.js>=26

Public exports

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

Values

  • ConfigRepository
  • ConfigValidationError
  • collectConfigValidationFailures
  • env
  • envBool
  • envInt
  • formatConfigValidationFailures
  • loadConfig
  • loadConfigWithSchemas
  • loadEnv
  • mergeConfig
  • parseEnv
  • requiredEnv
  • s
  • validateConfig

Types

  • ConfigSchema
  • ConfigSchemaMap
  • ConfigTree
  • ConfigValidationFailure
  • LoadConfigOptions
  • LoadEnvOptions
  • LoadedConfig

Guide

See the Configuration guide for usage examples.

Released under the MIT License.