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

#2647 in Web programming

Download history 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 2410/week @ 2025-02-12 2173/week @ 2025-02-19 1752/week @ 2025-02-26 1401/week @ 2025-03-05 1780/week @ 2025-03-12 2046/week @ 2025-03-19

7,515 downloads per month
Used in 44 crates (14 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
~136K SLoC