# match-sorter — card for AI agents

Sorts an array by best match to a search string.

Category: Utilities · npm package `match-sorter` · latest version 8.3.0 (checked 2026-11-01)
Install: `npm install match-sorter`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 51.0 (#1854 of all tools, 204 of 408 in its category)
- Used in 4 public projects set up for AI coding agents (0.1%)
- Downloads last week: 5,134,189 (as of 2026-11-24), +41.2% over 4 weeks
- GitHub stars: 4,116 (as of 2026-11-24)
- Last push: 2026-11-07

## Often used with
Prettier 88.9%, React 88.9%, Vite 66.7%, TanStack Query 44.4%, Testing Library 44.4%, Day.js 44.4%

## Checked alternatives (same job)
- Fuse.js: https://agentgid.com/tools/fuse-js/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/match-sorter/
- Homepage: https://github.com/kentcdodds/match-sorter#readme
- Repository: https://github.com/kentcdodds/match-sorter

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
