Lunr.js
A bit like Solr, but much smaller and not as bright: full-text search in the browser.
Why consider Lunr.js?
Lunr.js is an open-source client-side full-text search engine for JavaScript written by Oliver Nightingale. Lunr indexes documents in the browser or Node.js, providing tokenization, stemming, stop-word filtering, and inverted index searching without external database servers.
Learn Lunr.js by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of Lunr.js
Lunr.js builds instant searchable documentation catalogs entirely on client browsers.
Quickstart
npm install lunrimport lunr from 'lunr';const idx = lunr(function () { this.field('title'); this.field('body'); this.add({ id: 1, title: 'Invoicing Setup', body: 'Configure automated invoice generation' });});const results = idx.search('invoice');Lunr.js is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.