397 releases (8 major breaking)
8.0.0 | Feb 24, 2025 |
---|---|
7.0.0 | Feb 17, 2025 |
6.0.0 | Feb 3, 2025 |
5.0.0 | Dec 2, 2024 |
0.41.0 | Nov 30, 2021 |
#2009 in Web programming
7,892 downloads per month
Used in 45 crates
(15 directly)
1MB
20K
SLoC
swc_css_parser
CSS parser for the SWC project
Structure
tests
/tests/fuxture
CSS -> Parsed ast -> JSON.
/tests/error
Error reporting test.
/tests/identity
These tests ensure that input.css
and input.explicit.css
is parsed identically.
These are copied from esbuild
, by modifying the test suite.
The name of a test is base64_url(md5(name))
.
License
Apache 2.0 / MIT, at your option.
Lots of tests are copied from rome tools and esbuild. If you want to use tests, please consult license of those libraries.
Dependencies
~8.5MB
~136K SLoC