# bvaughn/js-search

JS Search is an efficient, client-side search library for JavaScript and JSON objects

Repository: https://github.com/bvaughn/js-search
Canonical: https://ross.abutalabs.com/products/js-search
Homepage: http://bvaughn.github.io/js-search/
Language: JavaScript
License: MIT
License Family: permissive
Topics: search, database, indexing, performance
Last push: 2023-05-12T13:18:33+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4052, "days_push": 1209, "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 2217, forks 110 (observed 2026-08-28T04:06:27.250899+00:00)

## What it is
JS Search is an efficient, dependency-free client-side search library for JavaScript and JSON objects. It supports tokenization, stemming, stop words, prefix/substring matching, and TF-IDF ranking, all running in the browser.

## Use cases
- search a local list of records in the browser without a server
- add full-text search to a static site or client-side app
- filter JSON data by title, author, or tags with ranked results
- build an instant-search box over a few thousand documents
- index nested object fields for searching
- replace a heavyweight search backend for small datasets

## When to choose
- your dataset is small enough to load fully client-side
- you want zero server round-trips and no third-party dependencies
- you need configurable tokenization, stemming, and TF-IDF ranking
- you need ES5 compatibility

## When to avoid
- you need to search very large datasets that won't fit in memory
- you need server-side or distributed search with scaling
- you need fuzzy typo-tolerant search out of the box
- you need multilingual language support beyond basic tokenization

## Facets
- artifact type: library
- maturity: stable
- function: search-engine
- domain: web-development, frontend
- platform: browser
- tags: client-side-search, indexing, tf-idf, tokenization, stemming, stop-words, search, nodejs

## Member repositories
- bvaughn/js-search (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.250899+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-30T02:45:55.497265+00:00, confidence not recorded.
  - readme: https://github.com/bvaughn/js-search (fetched 2026-08-28T04:06:27.250899+00:00, sha 6640262cf878)
  - homepage: http://bvaughn.github.io/js-search/ (fetched 2026-08-29T10:26:08.707806+00:00, sha 5f47649d6b53)
  - registry_npm: https://registry.npmjs.org/js-search (fetched 2026-08-29T10:26:08.716755+00:00, sha a8ff3f9682e7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
