Inline CSS Style Parser
JSON →inline-style-parser is a utility library designed to parse a CSS inline style string into an Abstract Syntax Tree (AST) representing its declarations. It functions as a direct copy of the parsing logic originally found in `css/lib/parse/index.js` from the `reworkcss/css` project, providing a lightweight, dedicated parser for single-line style attributes. The current stable version is `0.2.7`, with recent minor updates (e.g., v0.2.6, v0.2.7) focusing on documentation, build improvements, and type declaration fixes, indicating an active, though not rapid, release cadence. Key differentiators include its minimalistic approach, direct lineage from a well-established CSS parsing project, and provision of TypeScript type definitions, making it suitable for environments requiring structured access to inline style properties without the overhead of a full CSS parser.
Traffic · last 30 days ↑200% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇦🇹 Austria · 🇩🇪 Germany