{"id":14975616,"url":"https://github.com/mikeibberson/mongoose-partial-search","last_synced_at":"2026-02-06T13:50:00.544Z","repository":{"id":42965060,"uuid":"224518415","full_name":"MikeIbberson/mongoose-partial-search","owner":"MikeIbberson","description":"Regex-powered partial search plugin","archived":false,"fork":false,"pushed_at":"2023-01-24T00:49:57.000Z","size":1466,"stargazers_count":1,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T17:15:22.466Z","etag":null,"topics":["mongoose","mongoose-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mongoose-partial-search","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MikeIbberson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-27T21:17:17.000Z","updated_at":"2021-01-21T03:23:30.000Z","dependencies_parsed_at":"2023-02-13T06:45:55.878Z","dependency_job_id":null,"html_url":"https://github.com/MikeIbberson/mongoose-partial-search","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/MikeIbberson%2Fmongoose-partial-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeIbberson%2Fmongoose-partial-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeIbberson%2Fmongoose-partial-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeIbberson%2Fmongoose-partial-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MikeIbberson","download_url":"https://codeload.github.com/MikeIbberson/mongoose-partial-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217220,"owners_count":20903009,"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":["mongoose","mongoose-plugin"],"created_at":"2024-09-24T13:52:17.497Z","updated_at":"2026-02-06T13:50:00.506Z","avatar_url":"https://github.com/MikeIbberson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e🔎 Mongoose partial search plugin\u003c/h1\u003e\n\n\u003cp\u003e\n  \u003cimg src=\"https://github.com/MikeIbberson/mongoose-partial-search/workflows/Node%20CI/badge.svg\" alt=\"Status\" /\u003e\n\u003ca href='https://coveralls.io/github/MikeIbberson/mongoose-partial-search?branch=master'\u003e\u003cimg src='https://coveralls.io/repos/github/MikeIbberson/mongoose-partial-search/badge.svg?branch=master' alt='Coverage Status' /\u003e\u003c/a\u003e\n\u003cimg src='https://bettercodehub.com/edge/badge/MikeIbberson/mongoose-partial-search?branch=master'\u003e\n\u003c/p\u003e \n\n\u003cp\u003eThis packages adds a \u003ccode\u003esearchBuilder\u003c/code\u003e static method to the \u003ca href=\"https://mongoosejs.com/docs/schematypes.html\"\u003eMongoose\u003c/a\u003e model that returns a case-insensitive, regex-powered query to drop into your find functions.\u003c/p\u003e\n\n\n``` Javascript\n  const plugin = require('mongoose-partial-search');\n  const mongoose = require('mongoose');\n\n  const Schema = new mongoose.Schema({\n    name: {\n      type: String,\n      searchable: true,\n    }\n  });\n\n  Schema.plugin(plugin);\n  \n  const Model = mongoose.model('foo', Schema);\n  const query = Model.searchBuilder('bar');\n\n  // then, use the query however you like.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeibberson%2Fmongoose-partial-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikeibberson%2Fmongoose-partial-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeibberson%2Fmongoose-partial-search/lists"}