cheeriojs/cheerio

The fast, flexible, and elegant library for parsing and manipulating HTML and XML.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 15 minutes ago
Added to GitGenius on September 1st, 2026
Created on October 9th, 2011
Open Issues & Pull Requests: 54 (+0)
GitHub issues: Enabled
Number of forks: 1,714
Total Stargazers: 30,480 (+0)
Total Subscribers: 347 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Cheerio is a library for parsing and manipulating HTML and XML in JavaScript and TypeScript environments.

Cheerio solves the problem of server-side HTML and XML processing by implementing a jQuery-compatible API that works outside the browser. Rather than reimplementing the full jQuery library, it extracts jQuery's core selector and manipulation syntax and applies it to a lightweight DOM model. The library wraps parse5 for HTML parsing and can optionally use htmlparser2 for more forgiving parsing, allowing it to handle nearly any HTML or XML document format.

Cheerio suits projects that need to scrape, parse, or manipulate HTML and XML on the server side or in non-browser JavaScript environments. It works in both Node.js and Deno. Developers familiar with jQuery will find the API immediately recognizable, since Cheerio implements a subset of jQuery's core methods for selecting elements, traversing the DOM, and rendering output. The tool is particularly valuable for web scraping tasks and server-side HTML processing where browser APIs are unavailable.

The project maintains active continuous integration with automated testing and code coverage tracking. Development activity shows consistent attention to security practices and standards compliance.