{"adoption": {"forks": 143, "observed_at": "2026-08-28T04:08:35.593814+00:00", "stars": 4104}, "canonical_url": "https://ross.abutalabs.com/products/match-sorter", "card": {"archived": false, "artifact_type": "library", "description": "Simple, expected, and deterministic best-match sorting of an array in JavaScript", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["search-engine"], "health_score": 87, "homepage": "https://npm.im/match-sorter", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["kentcdodds/match-sorter"], "name": "kentcdodds/match-sorter", "platform": ["browser", "cross-platform"], "pushed_at": "2026-05-13T00:14:17+00:00", "repo": "kentcdodds/match-sorter", "stars": 4104, "tags": ["fuzzy-matching", "autocomplete", "filtering", "ranking", "typescript", "sorting", "nodejs"], "topics": [], "urls": [], "use_cases": ["filter a list of items as the user types in a search input", "sort autocomplete suggestions by best match", "implement fuzzy search over an array of objects", "rank dropdown options intuitively in a combobox", "search a list of countries or names with acronym matching"], "what_it_is": "A JavaScript/TypeScript library that filters and sorts arrays of items by best match against a query string, using a deterministic ranking algorithm (case-sensitive equals, starts-with, acronym, etc.). It is commonly used to power autocomplete and filter inputs.", "when_to_avoid": ["you need full-text search over large datasets or an index (use a search engine like Lunr or Elasticsearch)", "you need typo-tolerant or similarity-scored fuzzy matching rather than rank-based matching", "your data lives on a server and should be filtered server-side"], "when_to_choose": ["you need simple, deterministic, user-friendly filtering and ranking of in-memory lists", "you want a tiny utility for autocomplete or filter inputs", "you need sensible ranking like starts-with, word-starts-with, and acronym matching without tuning a fuzzy-search algorithm"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/match-sorter", "repo": "kentcdodds/match-sorter", "role": "main", "score": 80}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.593814+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:15.310346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "413f9ccb384f2b433f061c9ceda278756a6edb86b972052d93c5f76348d89d35", "fetched_at": "2026-08-28T04:08:35.593814+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/match-sorter"}, {"content_hash": "d99c92acdc2e0323048628d15ff9c8557324a971006ca5ecaa1641ecb8034992", "fetched_at": "2026-08-29T09:15:03.411694+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/match-sorter"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 82, "longevity": 100, "rhythm": 67}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3660, "days_push": 113, "days_rel": 140, "gap_med": 31.0, "n_releases_24m": 9}, "score": 80, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}