https://github.com/csskit/csskit
Refreshing CSS
https://github.com/csskit/csskit
bundler css linter parser rust toolchain transpiler
Last synced: 3 days ago
JSON representation
Refreshing CSS
- Host: GitHub
- URL: https://github.com/csskit/csskit
- Owner: csskit
- License: mit
- Created: 2023-08-04T19:08:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T10:21:01.000Z (12 days ago)
- Last Synced: 2026-01-19T16:58:10.989Z (12 days ago)
- Topics: bundler, css, linter, parser, rust, toolchain, transpiler
- Language: Rust
- Homepage: https://csskit.rs/
- Size: 223 MB
- Stars: 118
- Watchers: 6
- Forks: 4
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/funding.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
> [!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.
## Features
- **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 →][docs]**
## Installation
### Node.js
```sh
npm install csskit
```
## Packages
### Rust Crates
| Crate | Description |
| --------------------------------------------- | -------------------------- |
| [css_ast](./crates/css_ast) | CSS Abstract Syntax Tree |
| [css_lexer](./crates/css_lexer) | CSS tokenizer/lexer |
| [css_parse](./crates/css_parse) | CSS parser |
| [csskit](./crates/csskit) | Main CLI and library |
| [csskit_lsp](./crates/csskit_lsp) | Language Server Protocol |
| [csskit_transform](./crates/csskit_transform) | AST transformations |
| [csskit_highlight](./crates/csskit_highlight) | Syntax highlighting |
| [chromashift](./crates/chromashift) | Color space conversions |
| [css_feature_data](./crates/css_feature_data) | Browser compatibility data |
### Node.js Packages
| Package | Description |
| ---------------------------------------------- | -------------------- |
| [csskit](https://www.npmjs.com/package/csskit) | CLI tool for Node.js |
### Editor Extensions
| Package | Description |
| ----------------------------------- | ---------------- |
| [VSCode](./packages/csskit_vscode/) | VSCode Extension |
| [Zed](/packages/csskit_zed) | Zed Extension |
## Acknowledgments
Previously known as `hdx`. Special thanks to [@sethvincent] for graciously
transferring the `csskit` name.
## License
MIT
[oxc]: https://github.com/Boshen/oxc
[docs]: https://csskit.rs
[@sethvincent]: https://github.com/sethvincent