cheerio: Detailed Overview & Metrics

v1.0.0-rc.12(about 2 years ago)

This package was last published over a year ago. It may not be actively maintained.Types definitions are bundled with the npm packageNumber of direct dependencies: 7Monthly npm downloads

Cheerio is a fast, flexible, and lean implementation of core jQuery designed specifically for the server-side. It provides a simple API for traversing and manipulating the DOM structure of HTML and XML documents using familiar jQuery syntax. Cheerio is widely used for web scraping, data extraction, and manipulation tasks in Node.js applications.

Compared to alternatives like jsdom, Cheerio is known for its lightweight footprint and speed, making it a preferred choice for projects where performance and efficiency are crucial. It offers a robust set of features for parsing and manipulating HTML content without the overhead of a full browser environment.

Alternatives:
jsdom+
parse5+
htmlparser2+
domino+
node-html-parser+
puppeteer+
beautiful-dom+
x-ray+
jquery+
turndown+

Tags: node.jshtmldomweb scrapingdata extraction