# uFuzzy: 6.4 out of 10

Reasonable, with limits. 7th of 10 in [Search libraries and clients](https://elestia.ai/opensource/search/index.md).

uFuzzy is a tiny, zero-dependency fuzzy matcher for filtering lists of short strings, such as autocomplete, command palettes and lists in a UI. It is very fast and precise at that narrow job. It is not a full-text search engine, it tolerates few typos, and one person maintains it slowly.

**Best for:** Front-end developers who need fast, small, as-you-type filtering of a large list of short strings, such as names, titles or file paths.

## Scores

- **Overall: 6.4** (likely 5.4 to 7.4)
  - Claude Opus 5.5 (6.0): It is a good, safe pick when you need very fast filtering of short strings, and it is better than Fuse.js at that narrow case. For most search needs, Fuse.js has better object support and far wider use, and MiniSearch or FlexSearch handle full-text search with typo tolerance. Slow single-maintainer upkeep and small direct use keep it in the reasonable-but-limited band.
  - GPT-6.2 Sol (6.8): uFuzzy earns a place in new projects where a small bundle and fast autocomplete over short labels matter. Fuse.js is a better default for weighted object search and has a much more active release cycle. The range reflects how much match quality varies with the dataset and how slowly fixes may reach users.
- **Needed by many: 4.8** (likely 3.8 to 5.8)
  - Claude Opus 5.5 (5.0): Many web apps need client-side fuzzy filtering for search boxes, pickers and command palettes. uFuzzy covers only the short-string matching part of the search category, not full-text or server search. That makes it a sizeable but clearly bounded group.
  - GPT-6.2 Sol (4.5): Autocomplete and list filtering are common needs across browser and Node.js apps. uFuzzy serves apps that already have short strings in memory. Projects that need indexed document search, stemming, or a search-server client fall outside that scope.
- **Helps a lot: 7.0** (likely 6.0 to 8.0)
  - Claude Opus 5.5 (6.5): For short-string filtering it is fast, light on memory and precise, it has useful query syntax, and it ships TypeScript types. It does less than Fuse.js, which offers object keys and weighting, and less than MiniSearch or FlexSearch, which offer typo-tolerant full-text search. Users report that its typo handling is weak and that relevance cutoffs are hard to set. The main benchmark comes from the author.
  - GPT-6.2 Sol (7.5): Version 1.0.19 offers fast startup, configurable ranking, and typed match ranges. The rapid-fuzzy benchmark found higher throughput than Fuse.js on its lists, and a separate state-name comparison favored Fuse.js for default match quality. The result tuple takes care to use correctly, and reports of slow matching on longer queries make performance harder to generalize.
- **Holds up over time: 5.0** (likely 3.5 to 6.5)
  - Claude Opus 5.5 (5.0): The library is small, stable and has no dependencies, so it needs little upkeep, and Grafana depends on it. But it has one maintainer, one commit and no release in the last year, and few merged PRs. It is unlikely to break, and equally unlikely to gain features.
  - GPT-6.2 Sol (4.9): uFuzzy recorded one commit and no releases in the past year. The GitHub release history shows one publisher, and Fuse.js is substantially more active. The small API and absence of runtime dependencies limit upkeep, though the slow release cadence makes it hard to predict when fixes will reach npm.
- **Used widely: 3.3** (likely 2.1 to 4.6)
  - Claude Opus 5.5 (3.5): 2.6M downloads per 4 weeks, but most likely arrive through @grafana/data rather than direct choice. Its ratio of 3.4x is below the 4.1x median, so it is losing ground. 121 dependent repos is the lowest count among the fuzzy and full-text peers, far behind Fuse.js at 76,600.
  - GPT-6.2 Sol (3.0): Four-week downloads rose from about 756,000 to 2.6 million, or 3.43× year over year, below the catalog median of 4.1×. Several Grafana packages pull it in, so some of those installs reflect adoption of Grafana tooling. The dependent count trails the main in-app search peers, and incomplete repository coverage leaves the number of direct users uncertain.
- **Vouched for: 5.6** (likely 4.3 to 6.7)
  - Claude Opus 5.5 (5.0): Grafana ships it in its core data package, and it got a positive Hacker News reception from known developers such as simonw. There are no independent benchmarks, no survey data and few recent write-ups. The main comparison is the author's own, and the author notes its bias.
  - GPT-6.2 Sol (6.2): Grafana uses uFuzzy for fuzzy search and wraps it with fallbacks for some inputs. JBrowse lists it as a dependency, and Feathers-Pinia offers it as a client-side filter. External comparisons give mixed results, and State of JavaScript 2025 provides no project-specific satisfaction data.
- **Safe: 7.7** (likely 6.5 to 8.8)
  - Claude Opus 5.5 (8.0): It has zero dependencies, an MIT licence and no known advisories, and its tiny code base is easy to audit. It has no OpenSSF Scorecard, and one person publishes it, which keeps the score from the top.
  - GPT-6.2 Sol (7.4): The package has an MIT license, zero runtime dependencies, and no recorded advisories. GitHub lists no security policy, the bundle has no OpenSSF Scorecard, and the visible release history is concentrated in one account. Those gaps limit confidence in release safeguards and response time if a problem is reported.

## Good

- Zero dependencies and about 7.5KB minified, with no index to build, so startup takes well under a millisecond.
- Very fast on large lists: in the author's benchmark it searches 162k phrases far faster, and with far less memory, than Fuse.js.
- Query syntax handles out-of-order terms, exclusions and quoted exact terms, and helpers highlight the matched text.
- Grafana's @grafana/data package uses it in production.

## Bad

- Typo tolerance is weak: at most one error per term. Hacker News users report misses such as 'super meet boy' not finding 'Super Meat Boy'.
- It searches arrays of strings only. You must flatten objects yourself, and it has no field weighting and no full-text index.
- It is tuned for Latin text and always ignores case. Unicode mode is reported as 50-75% slower.
- One maintainer, one commit and no release in the past year.

## The numbers

- Downloads, 4 weeks: 2.6M
- In a year: ×3.4
- GitHub stars: 3k
- Commits, 12 months: 1
- Last npm release: Aug 2025
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/leeoniya/uFuzzy
- npm: https://www.npmjs.com/package/@leeoniya/ufuzzy

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
