Skip to content
JS
Alternatives

cssom alternatives

6 packages that do the same job as cssom: rrweb-cssom, @acemir/cssom, html-react-parser, htmlparser2, cheerio, css. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
cssom
This package
38.5m+21%-05 years agoCommonJSNone-
rrweb-cssom30.5m+99%-01 year agoCommonJSNone-
@acemir/cssom7.5m+3084688%-08 months agoCommonJSNone-
html-react-parser2.7m+56%-47 days agoESM + CommonJSBundled-
htmlparser271.7m+75%-46 months agoESM onlyBundled-
cheerio19.8m+87%-118 months agoESM + CommonJSBundled-
css4.9m-10%-36 years agoCommonJSNone-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

CSS Object Model implementation and CSS parser

Compared with cssom

  • 1.3x fewer weekly downloads (30.5m vs 38.5m)
  • Last release 14 Oct 2024 vs 20 Jun 2021
  • 151x fewer GitHub stars (5 vs 757)

CSS Object Model implementation and CSS parser

Compared with cssom

  • 5.2x fewer weekly downloads (7.5m vs 38.5m)
  • Last release 12 Jan 2026 vs 20 Jun 2021
  • 30x fewer GitHub stars (25 vs 757)

HTML to React parser.

Compared with cssom

  • 14x fewer weekly downloads (2.7m vs 38.5m)
  • 4 dependencies vs 0
  • ESM + CommonJS vs CommonJS
  • Bundled types vs no types
  • Last release 17 Sept 2026 vs 20 Jun 2021
  • 3.2x more GitHub stars (2.4k vs 757)

Fast & forgiving HTML/XML parser

Compared with cssom

  • 1.9x more weekly downloads (71.7m vs 38.5m)
  • 4 dependencies vs 0
  • ESM only vs CommonJS
  • Bundled types vs no types
  • Declares Node.js >=20.19.0 vs none declared
  • Last release 20 Mar 2026 vs 20 Jun 2021
  • 6.3x more GitHub stars (4.8k vs 757)

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

Compared with cssom

  • 1.9x fewer weekly downloads (19.8m vs 38.5m)
  • 11 dependencies vs 0
  • ESM + CommonJS vs CommonJS
  • Bundled types vs no types
  • Declares Node.js >=20.18.1 vs none declared
  • Last release 23 Jan 2026 vs 20 Jun 2021
  • 40x more GitHub stars (30.5k vs 757)

CSS parser / stringifier

Compared with cssom

  • 7.8x fewer weekly downloads (4.9m vs 38.5m)
  • 3 dependencies vs 0
  • Last release 2 Jul 2020 vs 20 Jun 2021
  • 2.2x more GitHub stars (1.6k vs 757)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed: 0 US searches/month for "cssom alternatives".