Back to Explore

rrweb-io/CSSOM

GitHub
1 watchersOpen source

Last release: 10/14/2024

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 repository (rrweb-io/CSSOM) appears actively maintained during 2024, with multiple versioned updates pushed on GitHub (last push 2024-10-14).
  • Update cadence in 2024 looks moderate, about 1 to 2 months between early updates (v0.7.0 to v0.7.1), then roughly 4 months until the next update (v0.7.1 to v0.8.0).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v0.8.0

    10/14/2024

    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.

    Features
  • v0.7.1

    6/11/2024

    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

    5/2/2024

    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