# match-sorter

JavaScript library that filters and sorts an array by how well each item matches a search string, with a fixed ranking order.


Source: https://findsoftware.frbit.cloud/match-sorter/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- repository: https://github.com/kentcdodds/match-sorter

### Identity

- status: active
- maintainer: Kent C. Dodds
- maintainerType: individual
- parent: unknown
- firstRelease: 2016
- hqCountry: unknown

### Kind

- category: library
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 8
- latestReleaseDate: 2026-04-15

### Adoption

- githubStargazers: 4116
- packagistDownloads: not applicable
- npmWeeklyDownloads: 4224892
- contributors: 41
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 50987
- dependentPackages: 583

### Sources

- urls: https://api.github.com/repos/kentcdodds/match-sorter (read 2026-10-28)
- maintainer: https://raw.githubusercontent.com/kentcdodds/match-sorter/main/LICENSE (read 2026-10-28)
- maintainerType: https://raw.githubusercontent.com/kentcdodds/match-sorter/main/LICENSE (read 2026-10-28)
- firstRelease: https://api.github.com/repos/kentcdodds/match-sorter/releases (read 2026-10-28)
- language: https://api.github.com/repos/kentcdodds/match-sorter (read 2026-10-28)
- category: https://raw.githubusercontent.com/kentcdodds/match-sorter/main/README.md (read 2026-10-28)
- installMethod: https://raw.githubusercontent.com/kentcdodds/match-sorter/main/README.md (read 2026-10-28)
- license: https://api.github.com/repos/kentcdodds/match-sorter (read 2026-10-28)
- licenseModel: https://raw.githubusercontent.com/kentcdodds/match-sorter/main/LICENSE (read 2026-10-28)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/match-sorter (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/match-sorter (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/match-sorter (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/kentcdodds/match-sorter (read 2026-10-28)
- contributors: https://api.github.com/repos/kentcdodds/match-sorter/contributors (read 2026-10-28)
- currentMajor: https://api.github.com/repos/kentcdodds/match-sorter/releases (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/kentcdodds/match-sorter/releases/latest (read 2026-10-28)

## Notes

match-sorter is a JavaScript library that filters and sorts an array of values or objects by how well each item matches a search string. It ranks matches in a fixed order, from case-sensitive equality through starts-with and word-starts-with to acronym and letter-order matches. Kent C. Dodds maintains it, and it is installed from npm.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
