# lucaong/minisearch

Tiny and powerful JavaScript full-text search engine for browser and Node

Repository: https://github.com/lucaong/minisearch
Canonical: https://ross.abutalabs.com/products/minisearch
Homepage: https://lucaong.github.io/minisearch/
Language: TypeScript
License: MIT
License Family: permissive
Topics: fuzzy-search, javascript, search, fulltext-search, search-engine, autosuggestion, autocomplete, text-search, edge-computing, typo-tolerance
Last push: 2025-09-16T12:43:59+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 42, release rhythm 35, longevity 100
- inputs: {"age_days": 2907, "days_push": 351, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6108, forks 172 (observed 2026-08-28T04:09:35.119828+00:00)

## What it is
MiniSearch is a tiny, dependency-free in-memory full-text search engine written in TypeScript for browser and Node.js. It provides prefix and fuzzy matching, field boosting, ranking, and auto-suggestion for datasets that fit in process memory.

## Use cases
- add search-as-you-type to a web or mobile app
- implement client-side full-text search without a search server
- build autocomplete and query auto-suggestions
- search a small dataset with typo tolerance and fuzzy matching
- run offline search in the browser or an edge worker
- index documents in memory in a Node.js process

## When to choose
- your dataset fits in memory and you want zero-dependency, lightweight search
- you need fast client-side search without network latency or a backend
- you want prefix, fuzzy, and field-boosted search with a simple API

## When to avoid
- you need to index very large datasets that exceed process memory
- you need a distributed, persistent, or server-backed search engine like Elasticsearch
- you need advanced features like faceting, geosearch, or multi-node scaling

## Facets
- artifact type: library
- maturity: stable
- function: search-engine, http-client
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: fulltext-search, fuzzy-search, autocomplete, autosuggestion, in-memory-index, typo-tolerance, zero-dependencies, typescript, search, nodejs, javascript

## Member repositories
- lucaong/minisearch (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:35.119828+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:48:12.363504+00:00, confidence not recorded.
  - readme: https://github.com/lucaong/minisearch (fetched 2026-08-28T04:09:35.119828+00:00, sha 6f9b3e12a19e)
  - homepage: https://lucaong.github.io/minisearch/ (fetched 2026-08-29T08:44:57.882030+00:00, sha 4622a4514e66)
  - registry_npm: https://registry.npmjs.org/minisearch (fetched 2026-08-29T08:44:57.885028+00:00, sha 611626e99d61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
