{"id":18984495,"url":"https://github.com/danwakeem/loopback-search-mixin","last_synced_at":"2026-06-19T08:31:57.243Z","repository":{"id":48013616,"uuid":"189106841","full_name":"Danwakeem/loopback-search-mixin","owner":"Danwakeem","description":"A more search friendly search endpoint for loopback","archived":false,"fork":false,"pushed_at":"2022-12-30T17:44:11.000Z","size":413,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T08:18:43.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Danwakeem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-28T21:37:31.000Z","updated_at":"2024-04-24T08:18:43.926Z","dependencies_parsed_at":"2023-01-31T12:31:18.095Z","dependency_job_id":null,"html_url":"https://github.com/Danwakeem/loopback-search-mixin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Floopback-search-mixin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Floopback-search-mixin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Floopback-search-mixin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Floopback-search-mixin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Danwakeem","download_url":"https://codeload.github.com/Danwakeem/loopback-search-mixin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239993878,"owners_count":19730778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T16:21:44.865Z","updated_at":"2025-11-11T08:03:52.719Z","avatar_url":"https://github.com/Danwakeem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Loopback Search Endpoint\n\n[![Build Status](https://travis-ci.com/Danwakeem/loopback-search-mixin.svg?branch=master)](https://travis-ci.com/Danwakeem/loopback-search-mixin)\n[![Coverage Status](https://coveralls.io/repos/github/Danwakeem/loopback-search-mixin/badge.svg?branch=master)](https://coveralls.io/github/Danwakeem/loopback-search-mixin?branch=master)\n\nThis loopback middleware replaces the default `GET /` endpoint with something that is a little more search friendly.\n\n## Useage\n\n## Install\n`npm i loopback-search-mixin --save`\n\n## Integrate with Loopback\nInclude the mixin in your `model-config.json` file\n\n```json\n{\n  \"mixins\": [\n    \"../node_modules/loopback-search-mixin\"\n  ]\n}\n```\n\nThen add the mix in to your `model.json` file\n```json\n\"mixins\": {\n  \"Search\": true\n},\n```\n\n## Options\nThe default behavior of this mixin will set a limit of 10 and offset of 0.\nYou can override these defaults through the mixin options\n```json\n\"mixins\": {\n  \"Search\": {\n    \"offset\": 100,\n    \"limit\": 20,\n  }\n},\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwakeem%2Floopback-search-mixin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanwakeem%2Floopback-search-mixin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwakeem%2Floopback-search-mixin/lists"}