# MiniSearch: 6.6 out of 10

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

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

- **Overall: 6.6** (likely 5.5 to 7.6)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (7.1): 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.
- **Needed by many: 4.9** (likely 3.8 to 6.1)
  - Claude Opus 5.5 (5.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.
  - GPT-6.2 Sol (4.8): 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.
- **Helps a lot: 7.5** (likely 6.5 to 8.5)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (8.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.
- **Holds up over time: 4.8** (likely 3.1 to 6.1)
  - Claude Opus 5.5 (5.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.
  - GPT-6.2 Sol (4.5): 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.
- **Used widely: 5.5** (likely 4.2 to 6.7)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (4.9): 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.
- **Vouched for: 6.4** (likely 4.8 to 7.4)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (6.7): 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.
- **Safe: 7.0** (likely 5.9 to 8.1)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.0): 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.

## 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

- Downloads, 4 weeks: 25M
- In a year: ×11
- GitHub stars: 6.2k
- Commits, 12 months: 0
- Last npm release: Sept 2025
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/lucaong/minisearch
- npm: https://www.npmjs.com/package/minisearch

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.
