# brianreavis/sifter.js

A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.

Repository: https://github.com/brianreavis/sifter.js
Canonical: https://ross.abutalabs.com/products/sifterjs
Language: JavaScript
License Family: other
Last push: 2022-08-02T16:41:53+00:00

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

## Adoption (not part of the score)
Stars 1099, forks 120 (observed 2026-08-28T04:03:35.052189+00:00)

## What it is
Sifter.js is a JavaScript library for textually searching arrays and hashes of objects by one or more properties, with scoring, filtering, and sorting designed for autocomplete. It works both client- and server-side via UMD and supports diacritics, nested properties, and multi-field sorting.

## Use cases
- build autocomplete for a list of objects
- fuzzy search arrays of objects by property in javascript
- search objects with diacritic-insensitive matching
- sort search results by multiple fields
- filter a dataset client-side as the user types
- search nested object properties with dot notation

## When to choose
- you need lightweight, dependency-free fuzzy search/autocomplete over in-memory object collections
- you need diacritic-tolerant matching and smart match scoring
- you need the same search code in browser and node.js

## When to avoid
- you need full-text search over large datasets or an index - use a real search engine like lunr, flexsearch, or Elasticsearch
- you need active development or guaranteed maintenance - the project has no license file and infrequent releases
- you need server-side search over databases rather than in-memory arrays

## Facets
- artifact type: library
- maturity: maintenance
- function: search-engine, parser
- domain: frontend, web-development, developer-tools
- platform: browser
- tags: autocomplete, fuzzy-search, text-search, diacritics, client-side, umd, search, nodejs, javascript

## Member repositories
- brianreavis/sifter.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:35.052189+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-30T06:46:02.297966+00:00, confidence not recorded.
  - readme: https://github.com/brianreavis/sifter.js (fetched 2026-08-28T04:03:35.052189+00:00, sha bc236795efe5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
