Preparing for system design interviews?  Try bugzed.com →

Inline CSS Style Parser

JSON →
library 0.2.7 ·javascript
verified Jun 17, 2026

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.

total hits 8
actors 3 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany