Skip to content
JS
Comparison

cheerio vs html-react-parser

Parsers and serialisersPackage data 25 Sept 2026
cheeriov1.2.0, 23 Jan 2026

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

$ npm install cheerio
html-react-parserv6.1.8, 17 Sept 2026

HTML to React parser.

$ npm install html-react-parser
Metriccheeriohtml-react-parserDifference
Weekly downloads19,821,4222,709,725cheerio 7.3x higher
12-month download growth+87%+56%cheerio +31 pts
Gzip size---
Minified size---
Dependencies114cheerio 7 more
Unpacked size988 kB480 kBhtml-react-parser 2.1x smaller
Latest release1.2.0, 23 Jan 20266.1.8, 17 Sept 2026html-react-parser 8 months more recent
Releases, last 12 months122html-react-parser 21 more
First published8 Oct 201123 Aug 2016cheerio 4.9 years earlier
GitHub stars30,5032,429cheerio 12.6x higher
Open issues3012cheerio 18 more
Open pull requests300cheerio 30 more
Contributors---
Commits, last 52 weeks561541cheerio +4%
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

cheerio19.8m latest weekhtml-react-parser2.7m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

cheerio

Major versions
  1. 0.0.18 Oct 2011
  2. 1.0.09 Aug 2024
Last 5 releases
  1. 1.2.023 Jan 2026
  2. 1.1.221 Jul 2025
  3. 1.1.120 Jul 2025
  4. 1.1.08 Jun 2025
  5. 1.0.09 Aug 2024
62 releases in total, 1 in the last 12 months

html-react-parser

Major versions
  1. 0.0.123 Aug 2016
  2. 1.0.014 Dec 2020
  3. 2.0.018 Jun 2022
  4. 3.0.05 Jul 2022
  5. 4.0.031 May 2023
  6. 5.0.029 Oct 2023
  7. 6.0.02 Apr 2026
Last 5 releases
  1. 6.1.817 Sept 2026
  2. 6.1.713 Aug 2026
  3. 6.1.613 Aug 2026
  4. 6.1.517 Jul 2026
  5. 6.1.43 Jul 2026
174 releases in total, 22 in the last 12 months
cheerio

-

html-react-parser

-

cheerio

-

html-react-parser

-

  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementcheerio: >=20.18.1; html-react-parser: none declared (engines field in package.json)
  • Need the more recent releasehtml-react-parser (6.1.8 on 17 Sept 2026 vs 1.2.0 on 23 Jan 2026)
  • Higher weekly npm downloadscheerio (19.8m vs 2.7m)

Each line is generated from the data above.

Indexability: Indexed.