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

#2678 in Web programming

Download history 2256/week @ 2024-12-15 1725/week @ 2024-12-22 832/week @ 2024-12-29 2048/week @ 2025-01-05 2461/week @ 2025-01-12 2238/week @ 2025-01-19 1099/week @ 2025-01-26 2991/week @ 2025-02-02 1971/week @ 2025-02-09 2011/week @ 2025-02-16 2473/week @ 2025-02-23 1343/week @ 2025-03-02 1527/week @ 2025-03-09 1868/week @ 2025-03-16 1896/week @ 2025-03-23 1694/week @ 2025-03-30

7,144 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
~135K SLoC