{"id":31588696,"url":"https://github.com/dkreider/ngx-search-filter","last_synced_at":"2025-10-06T02:12:39.580Z","repository":{"id":203760010,"uuid":"710337190","full_name":"dkreider/ngx-search-filter","owner":"dkreider","description":"🔍 A lightweight Angular search library to filter arrays of strings or objects.","archived":false,"fork":false,"pushed_at":"2024-05-27T21:03:47.000Z","size":586,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T19:06:05.727Z","etag":null,"topics":["angular","searching","typescript-library"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ngx-search-filter","language":"TypeScript","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/dkreider.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-26T13:49:31.000Z","updated_at":"2025-07-24T14:37:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2a59d90-9f52-4379-97f0-f7f8c80d64a2","html_url":"https://github.com/dkreider/ngx-search-filter","commit_stats":null,"previous_names":["dkreider/ngx-search-filter"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dkreider/ngx-search-filter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkreider%2Fngx-search-filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkreider%2Fngx-search-filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkreider%2Fngx-search-filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkreider%2Fngx-search-filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkreider","download_url":"https://codeload.github.com/dkreider/ngx-search-filter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkreider%2Fngx-search-filter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547821,"owners_count":26004775,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["angular","searching","typescript-library"],"created_at":"2025-10-06T02:12:35.107Z","updated_at":"2025-10-06T02:12:39.572Z","avatar_url":"https://github.com/dkreider.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"15%\" height=\"15%\" src=\"https://raw.githubusercontent.com/dkreider/ngx-search-filter/main/logo.png\"\u003e\n\u003c/p\u003e\n\u003cbr /\u003e\n\n![npm](https://img.shields.io/npm/dt/ngx-search-filter)\n![npm](https://img.shields.io/npm/dm/ngx-search-filter)\n[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/ngx-search-filter)](https://bundlephobia.com/result?p=ngx-search-filter``)\n[![ngx-search-filter](https://github.com/dkreider/ngx-search-filter/workflows/ngx-search-filter/badge.svg)](https://github.com/dkreider/ngx-search-filter/actions/workflows/main.yml)\n[![PRs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)]()\n[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)\n[![npm](https://img.shields.io/npm/l/express.svg?maxAge=2592000)](https://github.com/dkreider/ngx-search-filter/blob/main/LICENSE)\n\n\n## [ngx-search-filter](https://www.npmjs.com/package/ngx-search-filter)\n\n\u003e Important Note: This is a fork of [ng2-search-filter](https://github.com/solodynamo/ng2-search-filter) that has now been archived. Many thanks to [Ankit](https://github.com/solodynamo) and all the other contributors.\n\nA lightweight Angular search filter pipe. You can use it with [ngFor](https://angular.io/api/common/NgFor) to filter arrays of strings of objects.\n\nIf you find this library useful, please give it a 🌟.\n\n![demo-image](https://i.imgur.com/dI5Mzvq.gif)\n\n\n## Install ⌛️\n\n```bash\nnpm i ngx-search-filter --save\n```\n```bash\nyarn add ngx-search-filter \n```\n## Usage 🧲\n\nImport `NgxSearchFilterModule` to your module\n\n```typescript\nimport { NgModule } from '@angular/core';\nimport { BrowserModule  } from '@angular/platform-browser';\nimport { AppComponent } from './app';\n\nimport { NgxSearchFilterModule } from 'ngx-search-filter';\n\n@NgModule({\n  imports: [\n    BrowserModule, \n    NgxSearchFilterModule\n  ],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent]\n})\nexport class AppModule {}\n```\n\nAnd use pipe in your component after declaring and initializing it in your component:\n\n```typescript\nimport { Component } from '@angular/core';\n\n@Component({\n  selector: 'example-app',\n  template: `\n    \u003cdiv\u003e\n        \u003cinput type=\"text\" [(ngModel)]=\"term\"\u003e\n        \u003cdiv *ngFor = \"let item of items | filter:term\" \u003e\n          \u003cp\u003e\n            {{item.name}}\n          \u003c/p\u003e\n        \u003c/div\u003e\n\n    \u003c/div\u003e  \n  `\n})\n\nexport class AppComponent {\n  items: string[] = [{ name: \"archie\" }, { name: \"jake\" }, { name: \"richard\" }];\n  term = '';\n}\n```\n\n## Issues 🐛\n\nFound a bug? Want to request a feature? Confused? Or wanna simply comment on how useful this library is? \n\nOpen an issue [here](https://github.com/dkreider/ngx-search-filter/issues).\n\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.danielk.tech/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/11043868?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDaniel Kreider\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/dkreider/ngx-search-filter/commits?author=dkreider\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/solodynamo\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/17698714?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003e Ankit Singh \u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/solodynamo/ng2-search-filter\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e  \n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.\n\nContributions of any kind welcome!\n\n## License 📜\n\n[MIT](https://tldrlegal.com/license/mit-license) © [dkreider](https://github.com/dkreider/ngx-search-filter/blob/main/LICENSE)\n\n## Credits 🧸\n\n\u003ca href=\"https://www.flaticon.com/free-icons/magnifying-glass\" title=\"magnifying glass icons\"\u003eMagnifying glass icons created by Freepik - Flaticon\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkreider%2Fngx-search-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkreider%2Fngx-search-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkreider%2Fngx-search-filter/lists"}