{"id":16531376,"url":"https://github.com/marcbachmann/simple-text-search","last_synced_at":"2025-07-07T00:05:22.118Z","repository":{"id":10649529,"uuid":"57206954","full_name":"marcbachmann/simple-text-search","owner":"marcbachmann","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-14T01:34:53.000Z","size":171,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T04:43:09.944Z","etag":null,"topics":["diacritics","filter","search","sifter","simple","text","umlaut"],"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/marcbachmann.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-27T11:05:52.000Z","updated_at":"2024-09-14T01:34:55.000Z","dependencies_parsed_at":"2024-01-10T15:34:39.538Z","dependency_job_id":"0c6e616b-454f-4a3c-85d6-f480a55c6b91","html_url":"https://github.com/marcbachmann/simple-text-search","commit_stats":{"total_commits":27,"total_committers":4,"mean_commits":6.75,"dds":0.2592592592592593,"last_synced_commit":"aa699adae7670edc9807e6408be06df5c703894a"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/marcbachmann/simple-text-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcbachmann%2Fsimple-text-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcbachmann%2Fsimple-text-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcbachmann%2Fsimple-text-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcbachmann%2Fsimple-text-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcbachmann","download_url":"https://codeload.github.com/marcbachmann/simple-text-search/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcbachmann%2Fsimple-text-search/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263991435,"owners_count":23540663,"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":["diacritics","filter","search","sifter","simple","text","umlaut"],"created_at":"2024-10-11T18:08:41.062Z","updated_at":"2025-07-07T00:05:22.100Z","avatar_url":"https://github.com/marcbachmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-text-search\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/marcbachmann/simple-text-search.svg)](https://greenkeeper.io/)\n\n## Usage\n\n```\n  var filter = require('simple-text-search')\n  var get = filter(['foo', 'bar', 'foobar'])\n  var results = get('foo')\n  // -\u003e returns ['foo', 'foobar']\n```\n\n Objects in a collection get stringified. So all properties get filtered.\n You can also define a property to filter in:\n ```\n   var cities = [{id: 1, name: 'Zürich'}, {id: 2, name: 'Reykjavík'}]\n   var get = filter(cities, 'name')\n   var results = get('zurich')\n   // -\u003e returns [{id: 1, name: 'Zürich'}]\n ```\n\nThis module doesn't do any stemming except replacing umlauts.\n\n\n## Alternatives\n\nPlease use [sifter](https://github.com/brianreavis/sifter.js) if you need sorting or scoring.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcbachmann%2Fsimple-text-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcbachmann%2Fsimple-text-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcbachmann%2Fsimple-text-search/lists"}