394 releases (5 major breaking)

new 5.0.0 Dec 2, 2024
4.0.0 Nov 6, 2024
3.0.0 Nov 1, 2024
2.0.0 Oct 29, 2024
0.41.0 Nov 30, 2021

#1799 in Web programming

Download history 1936/week @ 2024-08-17 1847/week @ 2024-08-24 1957/week @ 2024-08-31 2109/week @ 2024-09-07 1485/week @ 2024-09-14 2103/week @ 2024-09-21 1440/week @ 2024-09-28 1703/week @ 2024-10-05 2463/week @ 2024-10-12 2241/week @ 2024-10-19 2388/week @ 2024-10-26 3201/week @ 2024-11-02 1782/week @ 2024-11-09 1979/week @ 2024-11-16 2154/week @ 2024-11-23 1992/week @ 2024-11-30

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