396 releases (7 major breaking)

new 7.0.0 Feb 17, 2025
6.0.0 Feb 3, 2025
5.0.0 Dec 2, 2024
4.0.0 Nov 6, 2024
0.41.0 Nov 30, 2021

#1942 in Web programming

Download history 2679/week @ 2024-10-30 2640/week @ 2024-11-06 1908/week @ 2024-11-13 2308/week @ 2024-11-20 1865/week @ 2024-11-27 2170/week @ 2024-12-04 2433/week @ 2024-12-11 2088/week @ 2024-12-18 1109/week @ 2024-12-25 1292/week @ 2025-01-01 2059/week @ 2025-01-08 2878/week @ 2025-01-15 1484/week @ 2025-01-22 1618/week @ 2025-01-29 2644/week @ 2025-02-05 1943/week @ 2025-02-12

8,282 downloads per month
Used in 46 crates (15 directly)

Apache-2.0

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
~134K SLoC