Cheerio
jQuery-like syntax for parsing and manipulating HTML/XML with server-side speed.
Scraping, browsers and parsing npm MIT
Used in agent projects
94
0.7% of 12,697 public repos built with AI coding agents
Rank in scraping, browsers and parsing
#4 of 16
by use in those projects
Downloads
26.6M
npm, last 7 days, cheerio
GitHub stars
30.5K
last push Oct 10, 2026
How Cheerio is used
Cheerio is a dependency in 94 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.7%), #4 of 16 in scraping, browsers and parsing. The most used alternative there is Beautiful Soup. Projects that use it most often also use Axios (50.0%), dotenv (48.9%), TypeScript (79.8%).
Often used with Cheerio
| Axios | 50.0% of Cheerio projects · 5.0× more than average |
|---|---|
| dotenv | 48.9% of Cheerio projects · 3.1× more than average |
| TypeScript | 79.8% of Cheerio projects |
| Zod | 41.5% of Cheerio projects · 2.4× more than average |
| Express | 25.5% of Cheerio projects · 3.9× more than average |
| Tailwind CSS | 56.4% of Cheerio projects · 1.6× more than average |
| tsx | 29.8% of Cheerio projects · 3.0× more than average |
| ESLint | 55.3% of Cheerio projects · 1.5× more than average |
By coding agent
| GitHub Copilot | 1.2% of projects set up for it |
|---|---|
| Cursor | 1.3% of projects set up for it |
| Claude Code | 0.9% of projects set up for it |
| Gemini CLI | 1.8% of projects set up for it |
| OpenCode | 2.2% of projects set up for it |
| Devin Desktop | 2.2% of projects set up for it |
Share of public repos configured for each agent that list Cheerio as a dependency.
Install
| Package | npm install cheerio |
|---|---|
| Main stacks | TypeScript / JavaScript (50), Next.js (34), Ruby (4), Python (3) |
| Example projects | vega-org/vega-app, hzrd149/nostrudel, guimatheus92/mcp-video-analyzer, Michael-Obele/shadcn-svelte-mcp, SurfSolana/SolSurfer |
Alternatives to Cheerio
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Beautiful Soup pypi Python HTML/XML parsing and screen-scraping library for web data extraction. |
160 (1.3%) | 69M | — | MIT License |
| Puppeteer npm Headless Chrome/Chromium automation for scraping, testing and screenshot generation. |
115 (0.9%) | 11.4M | 95.7K | Apache-2.0 |
| lxml pypi High-performance XML and HTML processing library combining libxml2/libxslt with Python. |
98 (0.8%) | 88.4M | 3,065 | BSD-3-Clause |
| Playwright (Python) pypi High-level Python API for automating browser testing and web scraping. |
68 (0.5%) | 26M | 15K | — |
| fast-xml-parser npm High-performance XML parser and builder without native dependencies. |
58 (0.5%) | 83.3M | 3,139 | MIT |
| csv-parse npm Parse CSV files using Node.js streaming Transform API for memory-efficient processing. |
51 (0.4%) | 20.6M | 4,280 | MIT |
| Playwright Core npm Headless browser automation library for cross-browser testing and web scraping. |
49 (0.4%) | 122M | 97.4K | Apache-2.0 |
| soupsieve pypi CSS selector implementation for BeautifulSoup to query HTML and XML documents. |
39 (0.3%) | 70.4M | 271 | — |