2025-06-09 00:00:24 +02:00
2025-06-09 00:00:13 +02:00
2025-06-09 00:00:24 +02:00
2025-06-08 16:34:57 +02:00
2025-06-09 00:00:24 +02:00
2025-06-09 00:00:13 +02:00
2025-06-09 00:00:13 +02:00
2025-06-09 00:00:13 +02:00
2025-06-08 16:34:57 +02:00

Config

Parse a configuration from env values using a description scheme (using Zod).

Keys are the name given in the TypeBox scheme, in capital case, separated with an underscore. Sub-objects' names will start with parent's name, followed by an underscore then the key.

Any key can be followed by __FILE. In this case, the given value is expected to be a path and the content of the file will be used to be the content of the config. The content of the file will be trimmed from any whitespace character. The file is read using UTF-8 encoding.

S
Description
Parse a configuration from env variables, using a type description
Readme 102 KiB
Languages
TypeScript 100%