CSSOM.js is a CSS parser written in pure JavaScript, with a partial implementation of the CSS Object Model. It is useful for turning CSS text into a structured form (for example, parsing rules and selector styles) in browser or Node.js environments (npm package: cssom).
Project status
- The source (rrweb-io/CSSOM) shows no evidence of active maintenance, with the last recorded update on 2024-10-14, which is nearly two years ago relative to 2026-09-10.
- The update cadence appears sporadic (at least 3 distinct updates in 2024, with gaps of roughly 1 to 5 months between them), and there have been no updates in 2025 or 2026.
AI summary generated
Recent updates
v0.8.0
v0.8.0 adds parsing and representation support for the CSS @layer at-rule. The library now introduces a new CSS rule type for layer blocks, and the parser can build nested rule trees under @layer declarations.
Featuresv0.7.1
v0.7.1 is a patch release that focuses on fixing CSS parsing errors related to nested @starting-style rules. The release notes claim the parser now correctly handles nested starting-style constructs.
v0.7.0
v0.7.0 adds support for two new CSS at-rules, @starting-style and @container. This extends the library's parsing/handling capabilities to cover these modern CSS features.
Features