Registry / utility / swc-css-parser

swc-css-parser

JSON →
library23.0.0rscratesunverified

CSS parser for the SWC project.

# Cargo.toml [dependencies] swc_css_parser = "23.0.0"
INSTALL
IMPORT
SIG · SWC-CSS-PARSER
S
swc-css-parser
utilityrustv23.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse_file
✓ use swc_css_parser::parse_file;

Parse a CSS string into an AST.

use swc_css_parser::parse_file; fn main() { let result = parse_file("body { color: red; }", Default::default()); println!("Parsed CSS: {:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
23.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
13
Resources
swc-css-parser — cargo add swc-css-parser · libregistry