minisearch
last updated: Mar 22, 2024
https://github.com/lucaong/minisearch/
MiniSearch
is a tiny but powerful in-memory fulltext search engine written in JavaScript. It is respectful of resources, and it can comfortably run both in Node and in the browser.
MiniSearch
addresses use cases where full-text search features are needed (e.g. prefix search, fuzzy search, ranking, boosting of fields…), but the data to be indexed can fit locally in the process memory. While you won't index the whole Internet with it, there are surprisingly many use cases that are served well byMiniSearch
. By storing the index in local memory,MiniSearch
can work offline, and can process queries quickly, without network latency.