The standalone readability library behind Firefox Reader View, now on npm
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Developers who need clean article text from messy web pages can now use Firefox's battle-tested extraction algorithm directly in Node.js instead of writing their own scraping heuristics.
Mozilla has published the code that powers Firefox Reader View, the button that strips ads and clutter from web articles, as a free, installable package for JavaScript developers. It takes any webpage's HTML and returns just the article: title, body text and summary, discarding menus, ads and footers. Anyone building a reading app, offline archive or text-to-speech tool can use it rather than building their own. The article gives no pricing, since it is free, and no performance figures.
Mozilla has open-sourced its Reader View extraction algorithm as an npm package, meaning companies building content tools, reader apps, archives, text-to-speech, AI text pipelines, can drop in a proven component instead of funding custom scraper development. It is free, deterministic and requires no cloud service, so there is no vendor or per-request cost. The competitive risk is to anyone selling bespoke content-extraction tooling. The article reports no adoption numbers or enterprise support options.
The @mozilla/readability package exposes the same heuristics Firefox Reader View uses, tuned over years against real-world pages. It consumes a DOM document (JSDOM in Node; no DOM dependency beyond that) and returns a structured object containing title, excerpt, cleaned HTML content and text direction. Usage is roughly four lines: construct a document, instantiate Readability, call parse. It is deterministic, not ML-based. No benchmark numbers or accuracy figures are given in the article.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Mozilla Firefox Reader View @mozilla/readability npm JSDOM Node.js
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.