LU

Lunr.js

Small full-text search library for the browser

Search Engines ★ 9.2k stars Easy setup MIT

Lunr.js is a small, full-text search library for use in the browser that provides a simple search index without needing a backend service. It is commonly used to add offline search to static sites and documentation.

Key features

  • Browser-based search
  • No backend needed
  • Prebuilt index support
  • Tiny library size

Strengths

  • Released under the MIT license
  • Easy to set up — beginner-friendly
  • Mature project with 9.2k GitHub stars
  • Written in JavaScript

Is Lunr.js secure?

OSV.dev has no published security advisories for Lunr.js's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

Lunr.js replaces

Health badge

Maintain Lunr.js? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 29 · at risk

Markdown
[![SelfHostIndex health score for Lunr.js](https://selfhostindex.com/badge/lunr-js.svg)](https://selfhostindex.com/app/lunr-js/)
HTML
<a href="https://selfhostindex.com/app/lunr-js/"><img src="https://selfhostindex.com/badge/lunr-js.svg" alt="SelfHostIndex health score for Lunr.js"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/lunr-js.svg
   :alt: SelfHostIndex health score for Lunr.js
   :target: https://selfhostindex.com/app/lunr-js/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Compare Lunr.js

28 head-to-head comparisons.

Similar search engines apps