16.0.2 • Published 11 months ago
zencode-configuration-audit v16.0.2
ConfigurationManager
For using this package declare configuration path provider for example :
export const CONFIGURATION_PATH_PROVIDER: string = `assets/config${environment.production ? '.prod' : ''}.json`;
and then import configuration module into app.module.ts file :
ConfigurationModule.forRoot(CONFIGURATION_PATH_PROVIDER)
get configuration from config file:
private readonly apiUrl = CONFIGURATION.get<string>('apiUrl');
P.S.
This library was generated with Angular CLI version 16.1.0.