simple css parser

Parse CSS into JSON

simple-css-parser

Parses CSS into JSON. Built using PEG.js, grammar based on https://github.com/pegjs/pegjs/blob/master/examples/css.pegjs (but modified to include offsets).

There are plenty of other CSS parsers out there, none were quite straightforward enough for my needs.