@sevenlure-vas/vasdatawarninglevel

Calculate data warning level

Usage no npm install needed!

<script type="module">
  import sevenlureVasVasdatawarninglevel from 'https://cdn.skypack.dev/@sevenlure-vas/vasdatawarninglevel';
</script>

README

vas-data-warning-level

build

LoopBack

Installation

Install VasDataWarningLevelComponent using npm;

$ npm install vas-data-warning-level

Basic Use

Configure and load VasDataWarningLevelComponent in the application constructor as shown below.

import {VasDataWarningLevelComponent, VasDataWarningLevelComponentOptions, DEFAULT_VAS_DATA_WARNING_LEVEL_OPTIONS} from 'vas-data-warning-level';
// ...
export class MyApplication extends BootMixin(ServiceMixin(RepositoryMixin(RestApplication))) {
  constructor(options: ApplicationConfig = {}) {
    const opts: VasDataWarningLevelComponentOptions = DEFAULT_VAS_DATA_WARNING_LEVEL_OPTIONS;
    this.configure(VasDataWarningLevelComponentBindings.COMPONENT).to(opts);
      // Put the configuration options here
    });
    this.component(VasDataWarningLevelComponent);
    // ...
  }
  // ...
}