Nutella with Pepperoni and Mushrooms
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

qipp-config-environment

4.0.0 • Public • Published

qipp-config-environment Build Status npm version js-standard-style

General

This module is used on our clients to extend the default flatapp.config configuration module, exposing the API host as a property of the config object (using the qipp API).

Install

npm i qipp-config-environment

Angular usage

In the config phase of your angular application:

angular.module('flatapp', [
    'flatapp.config'
]).config([
    'config',
    function (
        config
    ) {
    // config.api.host is now accessible.
    }
])

Tools

Linting with StandardJS

Please refer to the JavaScript Standard Style for general rules.

npm run lint

Unit testing with Karma

npm test

Requirements

Angular

Licence

Released under the MIT license by qipp.

Install

npm i qipp-config-environment

DownloadsWeekly Downloads

3

Version

4.0.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar