@bytesnbinary/core
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

@bytesnbinary/core

LoopBack

Installation

Install BytesnbinaryCoreComponent using npm;

$ [npm install | yarn add] @bytesnbinary/core

Basic Use

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

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

Package Sidebar

Install

npm i @bytesnbinary/core

Weekly Downloads

0

Version

0.1.4

License

ISC

Unpacked Size

100 kB

Total Files

84

Last publish

Collaborators

  • rajeeba