16.0.2 • Published 11 months ago

zencode-configuration-audit v16.0.2

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

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.

16.0.2

11 months ago

16.0.1

11 months ago

16.0.0

11 months ago