@logo-software/configurator
TypeScript icon, indicating that this package has built-in type declarations

11.0.2 • Public • Published

Configurator Module

The environment.ts files in an Angular application technically work for setting configuration values in an app, but those are buildtime configuration values. This library provides an easy way to load one or more JSON files with configuration values or make one or more HTTP GET calls to an API endpoint that returns those values. The config objects that are returned from the call(s) will be combined into a single configuration object.

Installation

All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Configurator Module:

$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/configurator -s

Just import it to your project of @NgModule import section.

import {ConfiguratorModule} from '@logo-software/configurator';

@NgModule({
 imports: [
   CommonModule,
   ConfiguratorModule.forRoot({
     configUrl: 'your/path/to/config.json',
   }),
 ],
})
export class AppModule {
}

For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview

/@logo-software/configurator/

    Package Sidebar

    Install

    npm i @logo-software/configurator

    Weekly Downloads

    2

    Version

    11.0.2

    License

    See license in LICENSE file

    Unpacked Size

    56.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • furkan.cetin
    • yusufyilmaz
    • serdarates
    • gamzeyapici
    • srknc
    • dotnet-ankara
    • murat.logo
    • serhan.gurbuz
    • gulnihaleksi