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
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| cssom This package | 38.5m | +21% | - | 0 | 5 years ago | CommonJS | None | - |
| rrweb-cssom | 30.5m | +99% | - | 0 | 1 year ago | CommonJS | None | - |
| @acemir/cssom | 7.5m | +3084688% | - | 0 | 8 months ago | CommonJS | None | - |
| html-react-parser | 2.7m | +56% | - | 4 | 7 days ago | ESM + CommonJS | Bundled | - |
| htmlparser2 | 71.7m | +75% | - | 4 | 6 months ago | ESM only | Bundled | - |
| cheerio | 19.8m | +87% | - | 11 | 8 months ago | ESM + CommonJS | Bundled | - |
| css | 4.9m | -10% | - | 3 | 6 years ago | CommonJS | None | - |
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)
Indexability: Indexed: 0 US searches/month for "cssom alternatives".