Converts css to object/json (fun thang!) 🤔
npm add css2object
import Css2Object from 'css2object'; const cssData = ` h1 { color: blue; } body { color: red; } ` const css2json = new Css2Object(cssData); css2json.read(); console.log(css2json.cssRecord);
MIT
Legacy utility to parse and stringify CSS declarations
Visualize various stats about your CSS
A very simple tool used to convert basic css color formats to and from css filter
Tiny, composable Atomic CSS engine
Inline css/sass/scss webpack loader
CSS Modules, but better and usable via Rollup, Vite, Webpack, CLI, PostCSS, or JS API
A micro-library for collecting stylesheet data from link and style nodes
Generate CSS/LESS variables and TS Types from JS/TS
Converts CSS to JSON and back.
Highly opinionated atomic CSS toolkit
CLI for converting CSS rules to JavaScript style objects