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-0.0.8.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for css_explore-0.0.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73f7b1b6d25690c1d0e9ce45e57148f672bd6805d4179a3cb1711742897df06 |
|
MD5 | cb1d1c832e69a675eac9d521d5715908 |
|
BLAKE2b-256 | c1b93155540299f53268e251f569fb975c3e836b01b202724f792191db9fd709 |