cheerio

The fast, flexible, and elegant library for parsing and manipulating HTML and XML. (by cheeriojs)

Cheerio Alternatives

Similar projects and alternatives to cheerio

  1. TypeScript

    1,411 cheerio VS TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. node

    1,176 cheerio VS node

    Node.js JavaScript runtime ✨🐢🚀✨

  4. Express

    768 cheerio VS Express

    Fast, unopinionated, minimalist web framework for node.

  5. axios

    476 cheerio VS axios

    Promise based HTTP client for the browser and node.js

  6. Playwright

    463 cheerio VS Playwright

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

  7. puppeteer

    388 cheerio VS puppeteer

    JavaScript API for Chrome and Firefox

  8. lodash

    212 cheerio VS lodash

    A modern JavaScript utility library delivering modularity, performance, & extras.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Scrapy

    188 cheerio VS Scrapy

    Scrapy, a fast high-level web crawling & scraping framework for Python.

  11. jQuery

    180 cheerio VS jQuery

    jQuery JavaScript Library

  12. Nodemon.io

    149 cheerio VS Nodemon.io

    Monitor for any changes in your node.js application and automatically restart the server - perfect for development

  13. Knex

    105 cheerio VS Knex

    A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

  14. jsdom

    62 cheerio VS jsdom

    A JavaScript implementation of various web standards, for use with Node.js

  15. request

    61 cheerio VS request

    🏊🏾 Simplified HTTP request client.

  16. crawlee

    45 cheerio VS crawlee

    Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

  17. nunjucks

    45 cheerio VS nunjucks

    A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)

  18. underscore

    38 cheerio VS underscore

    JavaScript's utility _ belt

  19. bud

    34 cheerio VS bud

    The Full-Stack Web Framework for Go

  20. Nokogiri

    Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.

  21. xo

    17 cheerio VS xo

    Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server (by xo)

  22. estela

    10 cheerio VS estela

    estela, an elastic web scraping cluster 🕸

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cheerio alternative or higher similarity.

cheerio discussion

Log in or Post with
  1. User avatar
    TigranAvagyan18
    · 9 months ago
    · Reply

    Review ★★★★★ 10/10

cheerio reviews and mentions

Posts with mentions or reviews of cheerio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-21.
  • A JavaScript scraper for the Wikipedia Academy Award List.
    1 project | dev.to | 23 Jan 2025
    Scraping the Academy Award winners listed on Wikipedia with cheerio and saving them to a CSV file.
  • Clean up HTML Content for Retrieval-Augmented Generation with Readability.js
    3 projects | dev.to | 21 Jan 2025
    To get the best data for RAG, we need to remove irrelevant content. When you’re working within one site, you can use tools like cheerio to parse the HTML yourself based on your knowledge of the site's structure. But if you're scraping pages across different layouts and designs, you need a good way to return just the relevant content and avoid the rest.
  • Make Custom Handlebar Helpers in Ghost!
    4 projects | dev.to | 6 Jan 2025
    Another thing! Imagine a user adds such a helper in the comments section under a post and adds malicious content in the parameter. Be mindful of security. For example, if you render every HTML completely, you could be vulnerable to XSS attacks. It’s recommended to compile and render Handlebars.js in specific, closed areas. You can use the cheerio (https://cheerio.js.org/) library for parsing HTML and rendering Handlebars where necessary. Here’s an example of how you can secure yourself by modifying the previous rendering code:
  • How to Scrape Data from a Page with Infinite Scroll
    3 projects | dev.to | 11 Dec 2024
    Cheerio: For parsing HTML
  • Turning search results into Markdown for LLMs
    4 projects | dev.to | 5 Dec 2024
    Cheerio
  • Getting to the meat and potatoes of serverless recipe parsing with Amazon Bedrock
    3 projects | dev.to | 19 Jul 2024
    I opted to use cheerio, a nifty HTML parsing library to clean-up the HTML before returning it from the function. Using cheerio I:
  • Adding Web Scraping and Google Search to AWS Bedrock Agents
    3 projects | dev.to | 17 Jul 2024
    We're going to use cheerio to parse the content from websites ("web scraping").
  • 8 NPM Packages for JavaScript Beginners [2024][+tutorials]
    6 projects | dev.to | 2 Apr 2024
    Cheerio is your ticket to the world of server-side magic, allowing you to manipulate HTML and XML documents with jQuery-like syntax. It’s perfect for web scraping, data extraction, or just making sense of the mess that is web content. With Cheerio, you get to play around with the DOM, use CSS selectors, and basically do all the cool things you'd do in the browser, but server-side.
  • How to scrape Amazon products
    4 projects | dev.to | 1 Apr 2024
    In this guide, we'll be extracting information from Amazon product pages using the power of TypeScript in combination with the Cheerio and Crawlee libraries. We'll explore how to retrieve and extract detailed product data such as titles, prices, image URLs, and more from Amazon's vast marketplace. We'll also discuss handling potential blocking issues that may arise during the scraping process.
  • Creating and deploying web scraper using Apify
    1 project | dev.to | 27 Mar 2024
    Used libraries Axios - it is a promise HTTP clients to make requests to the specified URL. Cheerio- it is a library for parsing and manipulating HTML that is commonly used here for extracting data from downloaded HTML content. Apify SDK- it is for building Apify Actors, that is utilized for initializing actor environments, getting input data, and pushing extracted data to the dataset.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 22 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic cheerio repo stats
57
29,221
9.8
2 days ago

cheeriojs/cheerio is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of cheerio is TypeScript.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?