Get a required configuration value
The configuration key
The configuration value
Get all configuration as an object
The complete configuration object
Get configuration for a specific namespace
The namespace key (e.g., 'database', 'server')
Configuration object for the namespace
Watch for configuration changes (if supported)
Function called when configuration changes
Function to unsubscribe from changes
File-based configuration provider
Loads configuration from JSON and YAML files with support for:
Example