Elestia Open Source Ratings
6.1

FlexSearch

Reasonable, with limits. 8th of 10 search libraries and clients.

FlexSearch is a fast full-text search library with no dependencies. It builds an in-memory index in the browser or in Node.js, with document indexes, workers and optional persistence. It is still among the fastest options for large client-side indexes. But no npm release has shipped since September 2025, one person maintains it, and its downloads grow more slowly than the category's. MiniSearch, Orama or Fuse.js are safer defaults for most new projects.

Best for: Sites and apps that need very fast prefix and full-text search over large in-memory indexes in the browser or Node.js, and do not need typo tolerance.

GitHubnpm

Scores

Overall6.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

It is among the fastest full-text libraries for in-app search, and it has no dependencies. But releases have stopped for over a year, there is one maintainer, 0.8 brought bugs that remain open, and it is losing share to MiniSearch, Orama and Pagefind. It is a reasonable pick when raw speed on large indexes matters most. For most new projects, a better-maintained peer is the safer choice.

GPT-6.2 Sol: 6.7, likely 5.6 to 7.8

FlexSearch is worth choosing when fast local full-text queries are central and its ranking works well on your data. Fuse.js is easier for simple fuzzy matching, and Pagefind is a better fit for large static sites that benefit from loading only parts of the index. The long release gap, workload-dependent results, and below-median adoption growth limit its appeal for new projects.

Needed by many5.4

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Many web apps, documentation sites and static sites need in-app search. Many others hand search to a server or a hosted service. FlexSearch serves the client-side, full-text part of the category, on both the browser and Node.js.

GPT-6.2 Sol: 5.8, likely 4.6 to 7.0

Search is a recurring need in content sites, catalogs, and apps that work offline. FlexSearch runs in browsers and Node.js across frameworks, with the best fit where an app can own its index. The available surveys give context on search infrastructure but leave demand for embedded search unmeasured.

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

Its speed and memory options are top tier, and its feature set is wide: document indexes, tags, workers, persistence and highlighting. The 0.8 line added many features but also brought bugs in tags, limits, numeric search and tokenization. Its weak points are fuzzy matching, simple ranking, terse documentation and types that are partly wrong.

GPT-6.2 Sol: 7.4, likely 6.3 to 8.5

Version 0.8.212 has fast indexed queries, multi-field search, highlighting, and persistence adapters. In a benchmark by another search project, it led plain-query throughput, ranked below MiniSearch on relevance, and ran out of memory indexing 160,000 passages under an 8 GB heap limit. Bundled types and examples give coding agents a starting point, though older examples and multiple builds make version-specific details easy to miss. Reports of pagination and worker persistence bugs leave the score sensitive to the workload.

Holds up over time4.2

Will it still be a good choice in two years?

Claude Opus 5.5: 4.0, likely 3.0 to 5.5

The last npm version shipped in September 2025, the last push was in June 2026, and there were only 10 commits in the last year. The Scorecard gives Maintained a 0. One maintainer, who is not visibly funded, drives the project. Recent issues, including one about a high-severity advisory in the optional sqlite3 dependency, have no released fix. The repository is not archived, and the maintainer has returned before after long gaps.

  • npm latestPublishedAt: 2025-09-06; no versions in the last year.
  • github commitsLastYear: 10 commits; last push 2026-06-28.
  • scorecard Maintained: Score 0.
  • github.com/nextapps-de/flexsearch/issues: Issues from 2026 are still open, including the sqlite3 advisory report.

GPT-6.2 Sol: 4.4, likely 3.1 to 5.7

FlexSearch had 10 commits and no published releases in the last year, while Fuse.js and Pagefind were far more active. The project describes itself as a spare-time effort that accepts donations, and recent GitHub releases show one publisher. A user reported changed search behavior after upgrading to 0.8, and the long wait for fixes to open issues makes future support hard to predict.

Used widely4.8

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

It has 5.3M downloads per four weeks, 13.8K stars and 3,121 dependent repos. That is more dependent repos than MiniSearch, but far fewer than Fuse.js or Lunr. Some downloads come from documentation themes and plugins that bundle it. Its growth ratio of 2.8 is below the 4.1 median, so it is losing share, while MiniSearch, Orama and Pagefind grow much faster.

  • npm downloadsLast4Weeks: 5.28M now versus 1.90M a year ago, a ratio of 2.8 against a median of 4.1.
  • dependents: 3,121 repos and 226 packages; Fuse.js has 76.6K and MiniSearch 1.1K.
  • peers downloads: MiniSearch grew 11x, Pagefind 15x and Orama 12x over the same period.
  • bluesky posts: 6 posts, mostly positive user reports.

GPT-6.2 Sol: 4.5, likely 3.3 to 5.7

Four-week npm downloads rose from 1.90 million to 5.28 million, a 2.78× increase against the 4.1× catalog median, so FlexSearch is losing ground on that measure. The 3,121 tracked dependent repositories put it ahead of MiniSearch and well behind Fuse.js and Lunr. Its 13,827 stars and six recent Bluesky links show an established audience with modest recent discussion. Repeat installs and framework integrations inflate npm counts, while CDN use and incomplete repository coverage make direct adoption hard to estimate.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio: 2.78× download growth versus the 4.1× catalog median.
  • dependents repos, packages; peers dependentRepos: 3,121 repos and 226 packages, versus 1,063 repos for MiniSearch and 76,600 for Fuse.js.
  • github stars; bluesky posts, top; peers blueskyPosts: 13,827 stars and six Bluesky links, compared with nine for Orama and eleven for Pagefind.
  • github.com/TryGhost/Ghost/blob/main/apps/sodo-search/package.json: Ghost search declares FlexSearch as a dependency.
  • imfing.github.io/hextra/docs/guide/configuration: Hextra loads FlexSearch from a CDN by default.
Vouched for6.1

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Static-site themes and documentation plugins use it, and independent comparisons consistently name it the fastest library for large indexes. Users on Bluesky and in blogs report good speed and results. No company publicly backs it, and it has no survey data. Some framework ecosystems have moved to Pagefind or MiniSearch.

GPT-6.2 Sol: 7.2, likely 6.1 to 8.3

Ghost pins the current release for site search, Quartz uses FlexSearch for full-text search, and Fumadocs provides a supported integration. Benchmarks from outside the project support its speed, with mixed results on relevance and memory. Most verified use is in site and documentation search, and State of JavaScript provides no FlexSearch satisfaction or retention figures.

Safe6.8

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has no runtime dependencies, no known advisories and the Apache-2.0 licence. The Scorecard is weak at 4.9: code review, pinned dependencies and fuzzing are poor, and one person publishes releases. The optional persistence adapters can pull in packages such as sqlite3 that have their own advisories.

  • advisories total: 0 advisories.
  • npm dependencies: 0 runtime dependencies.
  • scorecard score: 4.9; Code-Review 1, Pinned-Dependencies 0.
  • github.com/nextapps-de/flexsearch/issues: Issue #536 reports a high-severity advisory in the sqlite3 dependency.

GPT-6.2 Sol: 6.6, likely 5.4 to 7.8

The core package has zero required runtime dependencies, a permissive Apache-2.0 license, and zero recorded OSV advisories. OpenSSF scores it 4.9, with weak code review and dependency pinning, and npm release provenance remains unclear. The optional SQLite adapter requires a separate driver install, and an open report flags a vulnerable transitive dependency in that setup. The security policy supports the 0.8 line, but the release gap leaves patch turnaround uncertain.

Good

  • Very fast queries over large in-memory indexes, with several tokenizer modes and result caching.
  • No runtime dependencies, a small modular build, and support for workers and export/import of indexes.
  • Document indexes with tags, highlighting and optional persistence adapters (IndexedDB, Redis, SQLite and others).
  • Users say its results are better than Pagefind's for some static-site searches.

Bad

  • No npm release since September 2025, and only 10 commits in the last year from one maintainer.
  • Moving from 0.7 to 0.8 broke code, and the bundled type definitions are not fully accurate.
  • Weak typo tolerance and simple ranking compared with MiniSearch or Orama.
  • Open bugs on tags, limits, highlighting and tokenization have no fixes released.

The numbers

npm downloads, 4 weeks
5.3M ×2.8 in a year
GitHub stars
14k
Commits, 12 months
10
npm version
0.8.212 Sept 2025
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
4.9 out of 10, Oct 2026
Licence
Apache-2.0

Read on 21 November 2026 from GitHub (nextapps-de/flexsearch), npm (flexsearch), OSV and the OpenSSF Scorecard.

Search libraries and clients

  1. 7.9Pagefind
  2. 7.5Elasticsearch client
  3. 7.5Meilisearch client
  4. 7.4Fuse.js
  5. 7.2Typesense client
  6. 6.6MiniSearch
  7. 6.4uFuzzy
  8. 6.1FlexSearch
  9. 5.1Orama
  10. 3.8Lunr
Compare all 10 on six scores