A configuration parser module for the Gemini (testplane) testing framework, version 1.4.2. It provides a declarative way to define configuration schemas using composable functions like `option`, `section`, `map`, and `root`. Supports parsing from CLI arguments, environment variables, and objects with validation and transformation. Differentiates from alternatives like `convict` by being tightly integrated with Gemini/testplane and offering a nested structure with functions.
npm install gemini-configparserVerified import paths — ran on the pinned version, not inferred.
Defines a config parser with nested sections, options with defaults and validation, then parses from options, env, and CLI arguments.
Include all possible keys in the section definition.
Wrap with Number() or String() as shown in quickstart.
If you need a dynamic default, provide a function: defaultValue: (config, node) => ...
Remove the unknown key from input or add it to the section definition.
Ensure parseEnv/parseCli functions return the correct type; e.g., Number(rawValue) for numbers.
No dependency data recorded yet.