Get critical (above-the-fold) and the rest CSS using Puppeteer.
Algorithms to help you parse CSS from an array of tokens.
Parse CSS color values
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
Extract and inline critical css with emotion for server side rendering.
Powerful and compliant CSS selector parser.
CSS Object Model implementation and CSS parser
Parse CSS media query lists.
CSS/LESS/SCSS fast and minimalistic parser
CSS Object Model implementation and CSS parser
An inline style parser.
CSS Object Model implementation and CSS parser
Parse CSS Cascade Layer names.
Parse CSS media queries (spec-compliant)
Fast & forgiving HTML/XML parser
Inline critical CSS and lazy-load the rest.
A CSS parser, transformer, and minifier written in Rust
A CSS property value parser for use with PostCSS
Fault-tolerant CSS parser for PostCSS
Solve CSS math expressions
lezer-based CSS grammar
https://github.com/deanm/css-color-parser-js
Search CSS(-like) strings