# loopback4-plus

> An essential extension module for LoopBack applications.

Latest version **1.0.0** (published 2024-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install loopback4-plus
pnpm add loopback4-plus
yarn add loopback4-plus
bun add loopback4-plus
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-09-24 |
| First published | 2023-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16 |
| Dependencies | 4 |
| Unpacked size | 59.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | TY |
| Maintainers | towyuan |

## Links

- npm: https://www.npmjs.com/package/loopback4-plus
- npm.io page: https://npm.io/package/loopback4-plus

## Dependencies (4)

- [@loopback/boot](https://npm.io/package/@loopback/boot.md) ^7.0.6
- [@loopback/core](https://npm.io/package/@loopback/core.md) ^6.1.3
- [@loopback/repository](https://npm.io/package/@loopback/repository.md) ^7.0.6
- [@loopback/service-proxy](https://npm.io/package/@loopback/service-proxy.md) ^7.0.6

## Recent versions

- 1.0.0 (latest) — 2024-09-24
- 0.3.0 — 2024-01-15
- 0.2.0 — 2023-12-04
- 0.1.2 — 2023-09-08
- 0.1.1 — 2023-09-07

## README

# loopback4-plus

> An essential extension module for LoopBack applications.

## Installation

```sh
npm install loopback4-plus
```

## IntegrateMixin

```ts
import { Application } from '@loopback/core';
import { IntegrateMixin } from 'loopback4-plus';

export class MyApplication extends IntegrateMixin(Application) {
  constructor(options: ApplicationConfig = {}) {
    super(options);

    // ...
  }
```

`IntegrateMixin` will automatically integrate the following mixins:

- `BootMixin`
- `ServiceMixin`
- `RepositoryMixin`
- `GetServiceMixin` - provide a `getService` method like `getRepository` from `RepositoryMixin`

## Boot patching

The official `@loopback/boot` module will load all `js` artifacts in the `projectRoot` directory. However, it will not
load `ts` artifacts. This module will patch the `@loopback/boot` module to load `ts` artifacts as well.

You can apply the patch just import `loopback4-plus` module or using the `IntegrateMixin` as shown above.

```ts
import 'loopback4-plus';
```

## License

MIT

---
_Source: https://npm.io/package/loopback4-plus · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
