Ross ROSS = Recommend OSS · open-source software intelligence for agents

kentcdodds/match-sorter

Simple, expected, and deterministic best-match sorting of an array in JavaScript observed · 2026-08-28

github.com/kentcdodds/match-sorter · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

80/100

  • Activity 82
  • Release rhythm 67
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 31.0
  • age_days: 3660
  • days_rel: 140
  • days_push: 113
  • n_releases_24m: 9

Full methodology

Adoption not part of the score

4104 stars · 143 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

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.

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

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

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

Facets

library · maturity stable

search-engine web-development frontend developer-tools browser cross-platform fuzzy-matching autocomplete filtering ranking typescript sorting nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
kentcdodds/match-sortermain80

For agents

markdown · JSON · MCP: product_card(name="kentcdodds/match-sorter")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem