Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loopback/booter-lb3app

Package Overview
Dependencies
Maintainers
10
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loopback/booter-lb3app

A booter component for LoopBack 3 applications to expose their REST API via LoopBack 4

  • 4.0.7
  • Source
  • npm
  • Socket score

Version published
Maintainers
10
Created
Source

@loopback/booter-lb3app

Boot a LoopBack 3 application and expose its REST API via LoopBack 4.

Overview

The @loopback/booter-lb3app package provides a way for LoopBack 3 developers to boot their LoopBack 3 application, convert the application's Swagger spec into OpenAPI v3, and then mount the application, including its spec, onto a target LoopBack 4 application.

Installation

npm install --save @loopback/booter-lb3app

Basic use

Import the component at the top of your src/application.ts file.

import {Lb3AppBooterComponent} from '@loopback/booter-lb3app';

Register the component in Application's constructor:

this.component(Lb3AppBooterComponent);

By default, the LoopBack 3 models and datasources will be bond to the application with naming conventions as:

  • binding key for datasources: lb3-datasources.{ds name}
  • binding key for models: lb3-models.{model name}

Contributions

  • Guidelines
  • Join the team

Tests

Run npm test from the root folder.

Contributors

See all contributors.

License

MIT

Keywords

FAQs

Package last updated on 09 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc