Parser
Classes
| Class | Description |
|---|---|
‐ |
Interfaces
| Interface | Description |
|---|---|
‐ | |
‐ | |
The parsed result. | |
Configuration options for the parser. | |
Defines how a string input is converted to the target type T. |
Type Aliases
| Type Alias | Description |
|---|---|
‐ | |
‐ | |
‐ | |
‐ | |
‐ | |
A callback function to conditionally stop parsing. When it returns true, parsing stops and remaining arguments are preserved in | |
An advanced utility type that infers the exact type of the | |
‐ | |
‐ |
Functions
| Function | Description |
|---|---|
Similar to setDotValues but handles duplicate keys by converting to arrays. Does NOT apply type conversion - value is set as-is. Useful for flags that can be specified multiple times. | |
Default value coercion for Object type. Converts "true" / "" to true, "false" to false, other values remain unchanged. | |
‐ | |
‐ | |
Sets a value at a nested path in an object, creating intermediate objects as needed. Does NOT apply type conversion - value is set as-is. Overwrites existing values. |
References
DOUBLE_DASH
Re-exports DOUBLE_DASH
inferDefault
Re-exports inferDefault
KNOWN_FLAG
Re-exports KNOWN_FLAG
PARAMETER
Re-exports PARAMETER
UNKNOWN_FLAG
Re-exports UNKNOWN_FLAG

