rrweb-cssom: CSS Object Model and Parser
JSON →rrweb-cssom is a JavaScript library providing a CSS parser and a partial implementation of the CSS Object Model (CSSOM). It is primarily used for parsing CSS strings into a structured object representation, enabling programmatic access to CSS rules and styles. The current stable version is 0.8.0. This package is a fork of the original `cssom` project, which its original author declared as unmaintained. `rrweb-cssom`, however, appears to be actively maintained by the `rrweb-io` organization, with recent updates supporting modern CSS features like `@layer`, `@starting-style`, and `@container`. Its release cadence is driven by feature additions and bug fixes from its maintainers. A key differentiator and a limitation is its behavior regarding redundant CSS properties, where later declarations typically overwrite earlier ones, making it unsuitable for certain CSS transformation tasks like minification or linting that require preserving all rules.
Traffic · last 30 days ↓90% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France