# loopback-search-mixin

> A more search friendly search endpoint for loopback

Latest version **1.0.1** (published 2019-05-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install loopback-search-mixin
pnpm add loopback-search-mixin
yarn add loopback-search-mixin
bun add loopback-search-mixin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-05-29 |
| First published | 2019-05-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Danwakeem |
| Maintainers | danwakeem |
| Keywords | loopback, search, mixin |

## Links

- npm: https://www.npmjs.com/package/loopback-search-mixin
- Repository: https://github.com/Danwakeem/loopback-search-mixin
- Homepage: https://github.com/Danwakeem/loopback-search-mixin#readme
- Issues: https://github.com/Danwakeem/loopback-search-mixin/issues
- npm.io page: https://npm.io/package/loopback-search-mixin

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-05-29
- 1.0.0 — 2019-05-28

## README

# Loopback Search Endpoint
This loopback middleware replaces the default `GET /` endpoint with something that is a little more search friendly.

## Useage

## Install
`npm i loopback-search-mixin --save`

## Integrate with Loopback
Include the mixin in your `model-config.json` file

```json
{
  "mixins": [
    "../node_modules/loopback-search-mixin"
  ]
}
```

Then add the mix in to your `model.json` file
```json
"mixins": {
  "Search": true
},
```

## Options
The default behavior of this mixin will set a limit of 10 and offset of 0.
You can override these defaults through the mixin options
```json
"mixins": {
  "Search": {
    "offset": 100,
    "limit": 20,
  }
},
```

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