MiniSearch
Reasonable, with limits. 6th of 10 search libraries and clients.
MiniSearch is a small, dependency-free full-text search engine with an in-memory index. It runs in the browser and in Node, and supports prefix and fuzzy search, field boosting, auto-suggest and adding or removing documents. It is a solid, well-typed choice for client-side search over small and mid-sized datasets. However, the code has not changed in over a year, and FlexSearch or Orama do more.
Best for: Developers who want simple, typed, zero-dependency full-text search over a few thousand to tens of thousands of documents, in the browser or Node.
Scores
Overall6.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
MiniSearch is a good, clean, dependency-free full-text library that does its job well for small and mid-sized client-side indexes, and VitePress vouches for it. Development has been quiet for over a year and depends on one maintainer. FlexSearch is faster at scale, and Orama offers more features with active development. It is a reasonable pick, not the category default.
- github commitsLastYear: No development in the last year
- vitepress.dev/reference/default-theme-search: Production use in VitePress
- npm-compare.com/elasticlunr,flexsearch,fuse.js,minisearch: Positioned between Fuse.js and FlexSearch
- peers: Fuse.js and Orama are more actively developed
GPT-6.2 Sol: 7.1, likely 5.9 to 8.2
MiniSearch is a strong pick for ranked search over text records that fit comfortably in memory. Its typed API and serializable index make it a good fit for offline search, while Pagefind is a better fit for static sites that need to load only part of a large index. The release gap and unresolved cleanup bug make the recommendation less certain for apps that update records heavily or depend on prompt fixes.
- lucaong.github.io/minisearch: Documents the typed, embedded full-text search API
- github.com/CalebMorris/StaticDocket/blob/master/docs/research/fuzzy-search-libraries.md: Project comparison favors MiniSearch for shipping a prebuilt offline index
- pagefind.app: Pagefind loads chunks of its static search index on demand
- github commitsLastYear; npm latestPublishedAt: No commits in the last year and last npm release in September 2025
- github.com/lucaong/minisearch/issues/316: Reported bulk-update cleanup failure remains open
Needed by many4.9
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Many web apps and documentation sites need some search, but in-process full-text search is narrower than the whole category, which also covers server clients. It serves both browser and Node, so no single framework limits it.
- github description: Full-text search for browser and Node
- vitepress.dev/reference/default-theme-search: Used for in-browser documentation search
GPT-6.2 Sol: 4.8, likely 3.5 to 6.1
Local search fits documentation, offline apps, and catalogs whose indexes can fit in memory. MiniSearch works across frameworks in browsers and Node.js, while large shared collections and sites that need to load index chunks have different requirements. Available survey data covers enterprise search and leaves the share of JavaScript projects that need embedded search uncertain.
- lucaong.github.io/minisearch: Framework-independent, in-memory search in browsers and Node.js
- pagefind.app: Static site search with a chunked index
- survey.stackoverflow.co/2026/technology/data: Enterprise search survey covers a different use case
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It is a capable, correct full-text engine with prefix, fuzzy, boosting, filtering and auto-suggest, plus good types and documentation. Its limits are a synchronous, in-memory design, fuzzy matching that comparisons rate below Fuse.js, and less speed than FlexSearch. Small open bugs, such as an edge case in combineWith AND and a vacuum race, are still unfixed.
- npm-compare.com/elasticlunr,flexsearch,fuse.js,minisearch: Simpler API than FlexSearch, but slower; no async; fuzzy matching rated 'Good'
- github.com/lucaong/minisearch/issues: Open bugs from 2025–2026
- npm hasTypes / dependencies: Built-in types, 0 dependencies
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Version 7.2.0 combines ranked full-text search, prefix and fuzzy matching, field boosts, and suggestions behind a small typed API with concrete examples. A browser benchmark put it ahead of Fuse.js and behind FlexSearch for query throughput on its test sets. Document length, language, and update frequency matter because the full index lives in memory, segmentation can require custom code, and bulk updates can disrupt automatic cleanup.
- lucaong.github.io/minisearch: Typed API examples cover ranking, boost, suggestions, and tokenization
- github.com/naranyala/fast-fuzzy-search-on-web: Browser query throughput falls between Fuse.js and FlexSearch
- zbsearch.dev/benchmarks/large-indexes: Version 7.2.0 used about 1 GB of heap for 160,000 synthetic passages
- github.com/lucaong/minisearch/issues/201: Users discuss custom Chinese word segmentation
- github.com/lucaong/minisearch/issues/316: User reports interrupted cleanup during bulk replacement
Holds up over time4.8
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.0 to 6.0
There were no commits or releases in the last year. The last version, 7.2.0, came out in September 2025, and recent issues and a fix PR have no maintainer reply. The scope is mature and VitePress depends on it, which makes it a stable base. Still, a single, now-quiet maintainer is a real risk.
- github commitsLastYear / releasesLastYear: 0 commits and 0 releases in the last year
- github.com/lucaong/minisearch/issues/316: October 2026 bug report and fix PR with no maintainer response
- scorecard Maintained: Maintained check is 4/10
GPT-6.2 Sol: 4.5, likely 3.1 to 6.2
MiniSearch had zero commits and npm releases in the latest year, and a proposed fix for the index cleanup bug is still open. Fuse.js and Pagefind have been much more active. The changelog shows a mature API with mostly additive changes in recent minor releases, but one publicly listed package maintainer and unclear funding make it hard to predict how quickly future fixes will ship.
- github commitsLastYear; npm versionsLastYear; peers: Zero commits and releases in the latest year while several peers stayed active
- github.com/lucaong/minisearch/pull/317: Proposed index cleanup fix remains open
- github.com/lucaong/minisearch/blob/master/CHANGELOG.md: Recent minor updates added options and fixed types
- intel.aikido.dev/packages/npm/minisearch: One listed npm maintainer
Used widely5.5
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Downloads grew from 2.2M to 24.9M per 4 weeks, a ratio of about 11 against a median of 4.1. Most of that comes from tools that install it, such as VitePress, not from direct choice. Only 1,063 dependent repositories are counted, against 76,600 for Fuse.js, 42,125 for Lunr and 3,121 for FlexSearch, so direct adoption is moderate.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 24.9M vs 2.2M, ratio about 11
- dependents: 1,063 repos and 82 packages, far below Fuse.js and Lunr
- github stars: 6.2k stars
GPT-6.2 Sol: 4.9, likely 3.4 to 6.4
Four-week npm downloads grew 11.1 times year over year to 24.9 million, ahead of the 4.1 times catalog baseline and the growth of Fuse.js and Lunr. VitePress installs MiniSearch automatically, and repeated builds also count toward downloads, so the growth only partly reflects new choices. The collector found 1,063 dependent repositories and 82 npm packages, with fewer repositories than FlexSearch, Fuse.js, or Lunr. Incomplete repository coverage and sparse social activity leave direct adoption uncertain.
- npm downloadsLast4Weeks; npm downloadsSame4WeeksYearAgo; medianDownloadsRatio: 24.9 million versus 2.24 million downloads, or 11.1 times growth
- dependents; peers: 1,063 tracked repositories and 82 packages, trailing several established peers
- github stars; bluesky posts: 6,211 stars and two recent Bluesky posts
- github.com/vuejs/vitepress/blob/main/package.json: VitePress declares MiniSearch as a runtime dependency
Vouched for6.4
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.0 to 7.0
VitePress builds its default local search on MiniSearch, which is a strong, current endorsement from a widely used framework. Independent comparisons treat it as a sound mid-ground choice. Surveys and independent benchmarks barely mention it.
- vitepress.dev/reference/default-theme-search: VitePress local search uses MiniSearch
- npm-compare.com/elasticlunr,flexsearch,fuse.js,minisearch: Third-party comparison rates it as balanced DX
- bluesky posts: Only 2 posts; little public discussion
GPT-6.2 Sol: 6.7, likely 5.5 to 7.8
VitePress uses MiniSearch for local search, and Vite enables it on its own documentation site. Nuxt Content v2 also used it in an experimental search feature. A separate project evaluation picked MiniSearch for offline search with a prebuilt index, while benchmark results vary by workload. Survey coverage measures enterprise search, leaving MiniSearch without a direct satisfaction or retention measure here.
- vitepress.dev/reference/default-theme-search.html: VitePress implements local search with MiniSearch
- github.com/vitejs/vite/blob/main/docs/.vitepress/config.ts: Vite docs enable and tune the local search integration
- v2.content.nuxt.com/usage/search: Nuxt Content v2 used it for opt-in search
- github.com/CalebMorris/StaticDocket/blob/master/docs/research/fuzzy-search-libraries.md: Independent project picked it for prebuilt offline document search
- zbsearch.dev/benchmarks: External benchmarks show mixed ranking quality and throughput across peers
- survey.stackoverflow.co/2026/technology/data: Survey measures enterprise search platforms
Safe7.0
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has zero runtime dependencies, no known advisories and an MIT licence, so the attack surface is small. The OpenSSF Scorecard is 4.3, with no code review, no security policy, unpinned dependencies and zero token-permission scores, and releases depend on one person.
- advisories total: 0 advisories
- npm dependencies: 0 dependencies
- scorecard score: 4.3, with weak process checks
- npm license: MIT
GPT-6.2 Sol: 7.0, likely 5.8 to 8.1
The MIT license, zero runtime dependencies, and zero recorded OSV advisories keep dependency risk relatively low. OpenSSF scores it 4.3, with fuzz testing as a strength and weak checks for code review, workflow token permissions, and dependency pinning. A missing security policy, one listed npm maintainer, and limited evidence about release provenance leave uncertainty about publishing controls and response to a future issue.
- npm license; npm dependencies; advisories total: MIT, zero runtime dependencies, and zero OSV advisories
- scorecard score; scorecard checks: 4.3 overall, 10 for fuzzing, and 0 for review, token permissions, and pinning
- github.com/lucaong/minisearch/security: GitHub shows no security policy or published advisories
- intel.aikido.dev/packages/npm/minisearch: One listed npm maintainer and limited attestation evidence
Good
- Zero dependencies and a small bundle, with TypeScript types built in.
- A real full-text index with prefix and fuzzy search, field boosting, auto-suggest, and documents you can add or remove.
- A clear, well-documented API that is easy for people and AI agents to use correctly.
- It powers VitePress local search, so it is tested on many documentation sites.
Bad
- No commits or releases since September 2025, and recent bug reports such as the vacuum TypeError have no maintainer reply.
- In practice one maintainer, with weak OpenSSF Scorecard checks such as no code review, no security policy and unpinned dependencies.
- The whole index stays in memory and the API is synchronous, so it does not fit very large datasets. FlexSearch is faster at scale.
- Tokenization for languages such as Chinese and Korean needs custom code or third-party plugins.
The numbers
- npm downloads, 4 weeks
- 25M ×11 in a year
- GitHub stars
- 6.2k
- Commits, 12 months
- 0
- npm version
- 7.2.0 Sept 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.3 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (lucaong/minisearch), npm (minisearch), 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