Cheerio

Visit Website 4,312,166 Views

Website Introduction

Cheerio implements core jQuery for Node.js, enabling DOM traversal without browser overhead. It handles malformed HTML via htmlparser2 and supports CSS selectors for data extraction. Benchmark tests show 8x faster parsing than JSDOM. Common use cases include static site scraping, templating, and pre-rendering. The library processes 95% of Wikipedia pages under 1 second. Documentation includes migration guides from WebScraper and JSDOM:cite[2]:cite[8].