uFuzzy
Reasonable, with limits. 7th of 10 search libraries and clients.
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
Overall6.4
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- github.com/leeoniya/uFuzzy: Scope and limits
- news.ycombinator.com/item?id=33035580: Users report what works and what fails
- peers: Fuse.js has 76,600 dependent repos and 189 commits in the last year
GPT-6.2 Sol: 6.8, likely 5.7 to 7.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.
- derodero24.github.io/rapid-fuzzy/benchmarks: External benchmark shows strong list-search throughput
- github.com/travishorn/fuzzy-comparison: Default match quality varied across libraries
- fusejs.io/fuzzy-search.html: Fuse.js supports weighted object fields directly
- github releasesLastYear and peers: No uFuzzy releases in the past year and more active Fuse.js development
Needed by many4.8
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- github.com/leeoniya/uFuzzy: Built to match short needles against lists of short-to-medium phrases
- category.job: The category also covers full-text engines and server clients
GPT-6.2 Sol: 4.5, likely 3.5 to 5.6
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.
- github.com/leeoniya/uFuzzy: Short-string matching for browser and Node.js apps
- github.com/leeoniya/uFuzzy/issues/68: A static-site developer needed stemming and stop-word handling
Helps a lot7.0
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- github.com/leeoniya/uFuzzy: Author's benchmark: 0.5ms init and 28MB heap, against 245MB for Fuse.js. Latin-only, always ignores case
- news.ycombinator.com/item?id=33035580: Users praise its size and speed, and report typo and ordering misses
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 7.5, likely 6.4 to 8.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.
- github.com/leeoniya/uFuzzy: Documents the result tuple, ranking cutoff, and highlighting
- derodero24.github.io/rapid-fuzzy/benchmarks: Faster than Fuse.js on the tested lists, with different matches
- github.com/travishorn/fuzzy-comparison: Fuse.js matched better on the small state-name test
- github.com/leeoniya/uFuzzy/issues/79: A user found the out-of-order result handling difficult to follow
- github.com/leeoniya/uFuzzy/issues/65: Open user report of slow matching in single-typo mode
Holds up over time5.0
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
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.
- github commitsLastYear: 1 commit, 0 releases in the last year
- github latestRelease: 1.0.19, August 2025
- cdn.jsdelivr.net/npm/@grafana/data@12.4.2/package.json: @grafana/data pins 1.0.19, which keeps it in use
- maintainer: The maintainer, Leon Sorokin, also builds uPlot and works at Grafana Labs
GPT-6.2 Sol: 4.9, likely 3.5 to 6.5
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.
- github commitsLastYear and releasesLastYear: One commit and no releases in the last year
- github.com/leeoniya/uFuzzy/releases: One visible publisher and latest release 1.0.19
- github.com/leeoniya/uFuzzy/issues: Several matching and documentation issues remain open
- peers: Fuse.js recorded 189 commits and published in July 2026
Used widely3.3
How many use it, and is that growing?
Claude Opus 5.5: 3.5, likely 2.5 to 4.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.
- npm downloadsLast4Weeks: 2.60M now against 0.76M a year ago: 3.4x, below the median
- dependents: 121 repos and 6 packages
- github stars: 3,045 stars, the fewest among the in-app peers
GPT-6.2 Sol: 3.0, likely 1.7 to 4.6
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.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: Downloads grew 3.43× year over year
- medianDownloadsRatio: Catalog-wide median growth was 4.1×
- dependents and peers: 121 tracked repositories and six packages, well below Fuse.js and FlexSearch in tracked repositories
- npmjs.com/package/%40leeoniya/ufuzzy?activeTab=dependents: Several Grafana packages depend on uFuzzy
Vouched for5.6
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 3.5 to 6.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.
- cdn.jsdelivr.net/npm/@grafana/data@12.4.2/package.json: Grafana uses it in production
- news.ycombinator.com/item?id=33035580: HN praise for size and results, along with criticisms
- bluesky posts: 0 posts, 0 HN title matches in the bundle
GPT-6.2 Sol: 6.2, likely 5.0 to 7.4
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.
- raw.githubusercontent.com/grafana/grafana/main/packages/grafana-data/src/utils/fuzzySearch.ts: Grafana uses uFuzzy with substring fallbacks
- raw.githubusercontent.com/GMOD/jbrowse-components/main/packages/core/package.json: JBrowse core declares uFuzzy as a dependency
- feathers-pinia.pages.dev/guide/custom-query-filters: Feathers-Pinia documents an optional uFuzzy filter
- github.com/travishorn/fuzzy-comparison: Independent default-settings comparison favored other matchers
- 2025.stateofjs.com/en-US/other-tools: No project-specific survey result
Safe7.7
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- npm dependencies: 0 dependencies
- advisories total: No advisories
- security.snyk.io/package/npm/%40leeoniya%2Fufuzzy: Snyk lists no direct vulnerabilities
- scorecard: No Scorecard data
GPT-6.2 Sol: 7.4, likely 6.0 to 8.6
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.
- npm license and dependencies: MIT license and zero runtime dependencies
- advisories and scorecard: No OSV advisories and no available Scorecard
- github.com/leeoniya/uFuzzy/security: No published security policy
- github.com/leeoniya/uFuzzy/releases: Release history shows one publisher
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
- npm downloads, 4 weeks
- 2.6M ×3.4 in a year
- GitHub stars
- 3k
- Commits, 12 months
- 1
- npm version
- 1.0.19 Aug 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (leeoniya/uFuzzy), npm (@leeoniya/ufuzzy), OSV and the OpenSSF Scorecard.
Search libraries and clients
- 7.9Pagefind
- 7.5Elasticsearch client
- 7.5Meilisearch client
- 7.4Fuse.js
- 7.2Typesense client
- 6.6MiniSearch
- 6.4uFuzzy
- 6.1FlexSearch
- 5.1Orama
- 3.8Lunr