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

Download history 2263/week @ 2024-11-19 1941/week @ 2024-11-26 1923/week @ 2024-12-03 2442/week @ 2024-12-10 2192/week @ 2024-12-17 1401/week @ 2024-12-24 1060/week @ 2024-12-31 2018/week @ 2025-01-07 2687/week @ 2025-01-14 1931/week @ 2025-01-21 1449/week @ 2025-01-28 2640/week @ 2025-02-04 2278/week @ 2025-02-11 2088/week @ 2025-02-18 1971/week @ 2025-02-25 1369/week @ 2025-03-04

7,892 downloads per month
Used in 45 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
~136K SLoC