Visualizations of a css parse tree
Project description
css-explore
This originally started as a tool to visualize the parse tree of a css document, but more or less turned into a pretty printer.
The reason I made this project was to compare compilation outputs of various implementations of scss in an effort to switch a codebase from one compiler to another.
This uses:
- reworkcss/css for parsing
- ekalinin/nodeenv for bootstrapping node
Usage
$ css-format --help
usage: css-format [-h] filename
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
Example run:
$ echo 'body{color:red}' > test.css
$ css-format test.css
body {
color: red;
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
css_explore-1.1.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for css_explore-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b0df47335b41c94cf3844c594d8bc95de31b304bb2fe60994bdad5260ec0360 |
|
MD5 | c2e2dfe38d8795c873d3c4b81fc14262 |
|
BLAKE2b-256 | eacdee7701bb2e6fed6b8271c5fb7d6fa351794084f3779b8d21cf00156667fd |