search-index
JavaScript full-text search library for the browser and Node.js that keeps its index in a persistent key-value store.
fergiemcdowall.github.io/search-index/repositorydocs
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
Adoption
Sources
- 2026-10-28: links
fergiemcdowall.github.io/search-index/ - 2026-10-28: links, Runtime, Install with, Runs as, Content storage
github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md - 2026-10-28: links, Written in, GitHub stars
api.github.com/repos/fergiemcdowall/search-index - 2026-10-28: Maintainer, License model
github.com/fergiemcdowall/search-index/blob/master/LICENSE - 2026-10-28: First release, Last release
api.github.com/repos/fergiemcdowall/search-index/releases - 2026-10-28: Minimum runtime, License, Current major version
github.com/fergiemcdowall/search-index/blob/v6.0.2/package.json - 2026-10-28: Categories
github.com/fergiemcdowall/search-index/blob/master/README.md - 2026-10-28: Install with
github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/FAQ.md - 2026-10-28: Contributors
api.github.com/repos/fergiemcdowall/search-index/contributors?per_page=1 - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/search-index - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/search-index