| Metric | htmlparser2 | html-react-parser | Difference |
|---|---|---|---|
| Weekly downloads | 71,685,426 | 2,709,725 | htmlparser2 26.5x higher |
| 12-month download growth | +75% | +56% | htmlparser2 +19 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 4 | 4 | Same |
| Unpacked size | 230 kB | 480 kB | htmlparser2 2.1x smaller |
| Latest release | 12.0.0, 20 Mar 2026 | 6.1.8, 17 Sept 2026 | html-react-parser 6 months more recent |
| Releases, last 12 months | 3 | 22 | html-react-parser 19 more |
| First published | 28 Aug 2011 | 23 Aug 2016 | htmlparser2 5.0 years earlier |
| GitHub stars | 4,791 | 2,429 | htmlparser2 2.0x higher |
| Open issues | 2 | 12 | html-react-parser 10 more |
| Open pull requests | 12 | 0 | htmlparser2 12 more |
| Contributors | 68 | - | - |
| Commits, last 52 weeks | 169 | 541 | html-react-parser 3.2x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM only | ESM + CommonJS | Differs |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
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.
htmlparser271.4m latest weekhtml-react-parser2.7m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
htmlparser2
Major versions
- 1.0.028 Aug 2011
- 2.0.027 Nov 2011
- 3.0.031 Mar 2013
- 4.0.02 Aug 2019
- 5.0.03 Oct 2020
- 6.0.08 Dec 2020
- 7.0.020 Aug 2021
- 8.0.023 Apr 2022
- 9.0.010 May 2023
- 10.0.024 Dec 2024
- 11.0.019 Mar 2026
- 12.0.020 Mar 2026
Last 5 releases
- 12.0.020 Mar 2026
- 11.0.019 Mar 2026
- 10.1.021 Jan 2026
- 10.0.024 Dec 2024
- 9.1.05 Jan 2024
80 releases in total, 3 in the last 12 months
html-react-parser
Major versions
- 0.0.123 Aug 2016
- 1.0.014 Dec 2020
- 2.0.018 Jun 2022
- 3.0.05 Jul 2022
- 4.0.031 May 2023
- 5.0.029 Oct 2023
- 6.0.02 Apr 2026
Last 5 releases
- 6.1.817 Sept 2026
- 6.1.713 Aug 2026
- 6.1.613 Aug 2026
- 6.1.517 Jul 2026
- 6.1.43 Jul 2026
174 releases in total, 22 in the last 12 months
htmlparser2
-
html-react-parser
-
htmlparser2
-
html-react-parser
-
- Need both ESM and CommonJS entry pointshtml-react-parser (htmlparser2: ESM only; html-react-parser: ESM + CommonJS)
- Need to load it with require()html-react-parser
- Need TypeScript types in the package itselfBoth
- Node.js version requirementhtmlparser2: >=20.19.0; 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 12.0.0 on 20 Mar 2026)
- Higher weekly npm downloadshtmlparser2 (71.7m vs 2.7m)
Each line is generated from the data above.
- htmlparser2 vs cssom0 searches/mo
- cheerio vs html-react-parserNo search data
- cssom vs html-react-parserNo search data
htmlparser2: htmlparser2 npm registry, htmlparser2 npm downloads, htmlparser2 GitHub, htmlparser2 jsDelivr. Data fetched 25 Sept 2026.
html-react-parser: html-react-parser npm registry, html-react-parser npm downloads, html-react-parser GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.