Skip to main content

Function: getPackageJsonConfigurationLoader()

getPackageJsonConfigurationLoader<T>(key): ConfigurationProvider<T>

A factory function to create a configuration provider that loads configuration from a package.json file.

Type Parameters

T

Parameters

key: string

The key in the package.json file to load as configuration.

Returns

ConfigurationProvider<T>

A {@link ConfigurationProvider} that loads configuration from the specified package.json file.

Defined in

packages/parser/src/lib/config-files/package-json-loader.ts:11