/myint

Interceptor Playground

Primary LanguageTypeScript

myint

LoopBack

Installation

Install using npm;

$ npm install myint

Basic Use

Configure and load in the application constructor as shown below.

import {, , } from 'myint';
// ...
export class MyApplication extends BootMixin(ServiceMixin(RepositoryMixin(RestApplication))) {
  constructor(options: ApplicationConfig = {}) {
    const opts:  = ;
    this.configure(.COMPONENT).to(opts);
      // Put the configuration options here
    });
    this.component();
    // ...
  }
  // ...
}