cssparser.js icon indicating copy to clipboard operation
cssparser.js copied to clipboard

cssparser.js is a parser that generate json from css with matched orders & structures.

Results 5 cssparser.js issues
Sort by recently updated
recently updated
newest added

` "main": "lib/cli.js", ` if you wanna use it in commonJS way by impoting cssparser it will lead you to wrong entry point with no way to access ` new...

``` .btn { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f2f5', endColorstr='#d1d9e1', GradientType=0); } ``` Throws this exception ``` Parse error on line 1483: ...t-x; filter: progid:DXImageTransform.Mi ----------------------^ Expecting 'RIGHT_CURLY_BRACKET', 'SEMICOLON', 'COMMA', 'URL_FUNC', 'OPERATOR_NOT', 'LEFT_PARENTHESIS', 'RIGHT_PARENTHESIS',...

Not able to find in the npm registry. Got this below error. Not Found - GET https://registry.npmjs.org/cssparse - Not found

Is there a api to take the json result and recompile back to CSS?

enhancement
feature

One use case is for documentation. For example, at the top of each CSS file I might include a title and a description. The JSON could then be used to...

enhancement
feature