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.0.1.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for css_explore-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8219d523910757829abd0a768d5f8fc95c91f3054325b8570b61dfc14680882b |
|
MD5 | aa7190e49335821f423854eb8060815f |
|
BLAKE2b-256 | 7f4255b217709215a11de7f93725797e84cd6dc7573287cb7ed32ce212baf0ca |