FindSoftware

search-index

JavaScript full-text search library for the browser and Node.js that keeps its index in a persistent key-value store.

search-index is a JavaScript full-text search library that runs in the browser and in Node.js. An index is opened with a SearchIndex constructor, documents are added with PUT, and results come back from QUERY. The index is kept in a persistent store: IndexedDB in a browser and LevelDB in Node.js by default.

The store can be swapped through the db option for any abstract-level compatible backend, such as the in-memory store or a backend for Redis or Postgres. The FAQ shows the library loaded with a script tag from its built file.

Worth knowing

In a browser the index lives in that browser’s own IndexedDB storage, so an index belongs to the browser it was built in.

Identity

Status
Active
Maintainer
Fergus McDowall4
Maintained by
Individual
First release
20175

Rendering and deploy

Runs as
In the browser2
Install with
npm package import28

Releases

Current major version
66
Last release
2026-08-145

Adoption

GitHub stars
1,4233
npm downloads a week
39,19710
Contributors
399
Dependent repositories
12911
Dependent packages
3611

Why these figures do not compare

Sources

  1. 2026-10-28: links
    fergiemcdowall.github.io/search-index/
  2. 2026-10-28: links, Runtime, Install with, Runs as, Content storage
    github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md
  3. 2026-10-28: links, Written in, GitHub stars
    api.github.com/repos/fergiemcdowall/search-index
  4. 2026-10-28: Maintainer, License model
    github.com/fergiemcdowall/search-index/blob/master/LICENSE
  5. 2026-10-28: First release, Last release
    api.github.com/repos/fergiemcdowall/search-index/releases
  6. 2026-10-28: Minimum runtime, License, Current major version
    github.com/fergiemcdowall/search-index/blob/v6.0.2/package.json
  7. 2026-10-28: Categories
    github.com/fergiemcdowall/search-index/blob/master/README.md
  8. 2026-10-28: Install with
    github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/FAQ.md
  9. 2026-10-28: Contributors
    api.github.com/repos/fergiemcdowall/search-index/contributors?per_page=1
  10. 2026-10-28: npm downloads a week
    api.npmjs.org/downloads/range/2026-09-28:2026-10-04/search-index
  11. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/search-index

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON