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.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for css_explore-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 470f9311a0ea048db485070cf9c0285740b17352c3d5a131ac95903a60522b29 |
|
MD5 | eeccebf79ab8378e4c1e638218fd1333 |
|
BLAKE2b-256 | 4e702bdd0fde8bccb810f86b1589240d952ede506b120e976418a9788eede3ca |