Elestia Open Source Ratings
8.1

Cheerio

A strong pick. 1st of 10 web scraping and HTML parsing.

Cheerio is a fast, jQuery-style library for parsing HTML and XML in Node.js and other runtimes. It is the standard pick for reading static or server-rendered HTML. It does not run page JavaScript, so sites that build their content in the browser need a browser tool such as Puppeteer.

Best for: Developers who fetch static or server-rendered HTML and want to extract data with simple CSS selectors and no browser.

WebsiteGitHubnpm

Scores

Overall8.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

Cheerio is the default choice for parsing static HTML in JavaScript. It is fast, safe, typed and easy to use. It is not a full answer for scraping pages that run JavaScript (Puppeteer or Stagehand) or for code that needs a standard DOM (jsdom, LinkeDOM). Rare releases and growth below the median keep it from 9.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.0

Cheerio is a strong first pick for extracting data from static or server-rendered HTML in Node.js. Puppeteer is the better fit when the page must run JavaScript, and jsdom suits code that expects standard DOM APIs. Cheerio’s established integrations support the recommendation, while a slow release cadence and below-median download growth make its position less certain over the next two years.

Needed by many5.5

How many developers need a tool for this job?

Claude Opus 5.5: 6.5, likely 5.0 to 7.5

Many backend and tooling developers need to read HTML at some point: scraping, link previews, email or HTML processing, and static-site tooling. It is still a minority of all JS/TS projects, and Cheerio covers only static HTML, not pages that need a browser.

GPT-6.2 Sol: 4.5, likely 3.4 to 5.7

Parsing HTML is useful for scraping, workflow automation, and document processing across frameworks. Cheerio serves the subset of those jobs where the markup is already available or can be fetched over HTTP. The developer survey shows how common JavaScript and HTML are, but it gives no direct estimate of demand for scraping or parsing.

Helps a lot8.2

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It is fast, typed, well documented, and has a clean jQuery-style API, plus extract(), fromURL() and stream input. Independent tests find it faster than jsdom. Its limits are by design: it runs no JavaScript and has no full DOM API. htmlparser2 is faster but lower-level.

GPT-6.2 Sol: 8.4, likely 7.3 to 9.4

Cheerio combines standards-based HTML parsing, CSS selectors, and structured extraction in a small API. Its typed examples give developers and coding agents a clear pattern for common tasks, and its URL loader reports HTTP failures with status codes. The released relative-link bug matters for scraping, and performance varies by workload. In Rusteerio’s benchmark, Cheerio beat jsdom on bulk HTML extraction and trailed the Rust implementation.

Holds up over time7.4

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It is actively maintained, with 639 commits in the last year and recent pushes. It reached a stable 1.x line after years of release candidates, and its 1.1 and 1.2 releases made few breaking changes. Releases are infrequent, and a small core team (also behind htmlparser2) does most of the work, which keeps the score from going higher.

  • github commitsLastYear: 639 commits, last push 2026-11-20
  • github.com/cheeriojs/cheerio/releases: v1.1.0 to v1.2.0 were small fixes and features
  • github releasesLastYear: Only one release in the last year

GPT-6.2 Sol: 7.3, likely 6.1 to 8.5

The repository recorded 639 commits in a year and has public sponsorship, but npm received only one release in that period. Recent releases have come from one lead maintainer, and a fix for the URL loader was still waiting to ship months after the bug was reported. Users reported broken imports and older Node.js builds during the move to 1.0, adding uncertainty about future upgrade costs.

Used widely7.6

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has 143M downloads every 4 weeks and 557k dependent repos, far ahead of most scraping peers except jsdom and htmlparser2. Growth of 2.8x a year is below the 4.1 median, so its share is slipping. Many downloads also come from other tools that install it.

  • npm downloadsLast4Weeks: 143M now vs 51.8M a year ago, a ratio of 2.76, below the 4.1 median
  • dependents: 557k repos and 20k packages depend on it
  • github stars: 30.5k stars

GPT-6.2 Sol: 7.1, likely 5.9 to 8.3

Ecosyste.ms found about 557,000 repositories and 20,000 npm packages that depend on Cheerio, ahead of Puppeteer’s repository count and behind jsdom’s and htmlparser2’s. Four-week downloads rose from 51.8 million to 143.1 million, or 2.76 times, below the catalog’s 4.1-times median and slightly ahead of Puppeteer’s growth. That points to a large installed base losing ground against the benchmark. Repeat builds and indirect installs leave the number of new direct choices uncertain.

  • dependents.repos, dependents.packages: 557,077 indexed repositories and 20,164 dependent npm packages.
  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 2.76-times growth against a 4.1-times benchmark.
  • peers, github.stars, bluesky.posts: Strong dependent counts, 30,552 stars, and two Bluesky posts.
  • crawlee.dev/js/api/cheerio-crawler/class/CheerioCrawler: Shows how Cheerio also reaches users through a crawler framework.
Vouched for7.5

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Crawlee builds its CheerioCrawler on it, and scraping vendors such as ScrapingBee, ZenRows and Oxylabs name it as the default static parser. It has no developer-survey data, and most write-ups are vendor tutorials rather than production case studies.

GPT-6.2 Sol: 7.9, likely 6.8 to 9.0

Apify’s Crawlee uses Cheerio for its HTTP crawler, and n8n uses it in its HTML extraction node. The Rusteerio team’s benchmark gives a concrete performance comparison on thousands of pages, with the limits of a single workload run by a competitor. These integrations show current use in shipped products. Survey-based satisfaction and retention remain unmeasured in the sources reviewed.

Safe8.4

How safe is it to depend on?

Claude Opus 5.5: 9.0, likely 8.0 to 9.5

It has no known advisories, an OpenSSF Scorecard of 9 with pinned dependencies and SAST, and an MIT licence. Its 11 dependencies mostly come from the same maintainers' parser stack, plus undici for fetching. Weak spots are the missing fuzzing and a low CII Best Practices score.

  • advisories total: 0 advisories
  • scorecard score: 9/10; Fuzzing 0, CII 2
  • npm dependencies: 11 dependencies

GPT-6.2 Sol: 7.7, likely 6.4 to 8.8

Cheerio is MIT-licensed, has zero direct advisories in the bundle, and scores 9 out of 10 on OpenSSF Scorecard. It has 11 direct dependencies, and users have reported Undici advisories in their installs. Patched Undici 7.x versions fit Cheerio’s declared range, so exposure depends on the version in the lockfile. The Scorecard gives fuzzing zero, and release signing, publish provenance, and the full publisher roster remain unverified.

Good

  • Familiar jQuery-style selectors make extraction code short, and AI agents write it correctly.
  • Much faster and lighter than jsdom or a headless browser, with only 11 dependencies.
  • Built-in fromURL() and extract() cover simple fetch-and-parse jobs with no extra packages.
  • Strong security record: no advisories, OpenSSF Scorecard 9, and an MIT licence.

Bad

  • It does not run client-side JavaScript, so it cannot see content that frontend code renders.
  • It does not implement the standard DOM API, so code written for browser DOM methods does not carry over.
  • Releases are rare (one in the last year), and most of the work rests on a small core team.
  • For large crawls it needs a framework around it, such as Crawlee, for queues, retries and concurrency.

The numbers

npm downloads, 4 weeks
143M ×2.8 in a year
GitHub stars
31k
Commits, 12 months
639
npm version
1.2.0 Jan 2026
Versions, 12 months
1
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
9.0 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (cheeriojs/cheerio), npm (cheerio), OSV and the OpenSSF Scorecard.

Web scraping and HTML parsing

  1. 8.1Cheerio
  2. 7.9Puppeteer
  3. 7.8Crawlee
  4. 7.3htmlparser2
  5. 7.1jsdom
  6. 6.8Stagehand
  7. 6.8Readability
  8. 5.5Happy DOM
  9. 5.4LinkeDOM
  10. 5.2Selenium WebDriver
Compare all 10 on six scores