Warning
Alpha Quality: csskit is in active development and not yet ready for production use. APIs may change without notice.
csskit is a high-performance CSS toolchain written in Rust, inspired by oxc. It provides blazingly fast parsing, minification, linting, formatting, as well as IDE integration with an LSP.
- Parser: Spec-compliant CSS parser with full AST support
- Minifier: Aggressive minification for faster asset delivery
- Formatting: Beautify your CSS with consistent formatting
- Transformations: Transform modern syntax to support a wide variety of browsers.
- LSP: Language server integration for editors and IDEs
- Highlighting: Syntax highlighting support with Semantic Tokens
Visit csskit.rs for full documentation and guides →
npm install csskit| Crate | Description |
|---|---|
| css_ast | CSS Abstract Syntax Tree |
| css_lexer | CSS tokenizer/lexer |
| css_parse | CSS parser |
| csskit | Main CLI and library |
| csskit_lsp | Language Server Protocol |
| csskit_transform | AST transformations |
| csskit_highlight | Syntax highlighting |
| chromashift | Color space conversions |
| css_feature_data | Browser compatibility data |
| Package | Description |
|---|---|
| csskit | CLI tool for Node.js |
| Package | Description |
|---|---|
| VSCode | VSCode Extension |
| Zed | Zed Extension |
Previously known as hdx. Special thanks to @sethvincent for graciously
transferring the csskit name.
MIT