parcel-bundler/lightningcss
An extremely fast CSS parser, transformer, bundler, and minifier written in Rust. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 96
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 53
- age_days: 1789
- days_rel: 44
- days_push: 24
- n_releases_24m: 12
Adoption not part of the score
7665 stars · 297 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Lightning CSS is an extremely fast CSS parser, transformer, bundler, and minifier written in Rust, usable as a Rust or JavaScript library, a standalone CLI, or built into tools like Parcel, webpack, and Vite. It provides typed property values, browser-target-based vendor prefixing, syntax lowering for modern CSS features, CSS modules support, and highly optimized minification.
Use cases
- minify css to reduce bundle size
- add and remove vendor prefixes based on browser targets
- transpile modern css nesting to compatible syntax
- bundle css files with @import inlining
- parse css into a typed ast from rust or node
- scope class names with css modules
- replace autoprefixer and postcss-preset-env in a build pipeline
- convert modern color functions like oklab to fallback formats
When to choose
- you need dramatically faster css processing than javascript-based tools like cssnano
- you want smaller minified css output
- you need to support modern css syntax while targeting older browsers
- you want a single tool replacing autoprefixer, postcss-preset-env, and css modules handling
- you are building a rust or node toolchain that needs a css parser
When to avoid
- you rely on custom postcss plugins like tailwindcss that lightningcss cannot replace
- you need a pure javascript implementation without native binaries or wasm
- your project depends on postcss plugin ecosystem extensibility
Facets
library · maturity active
parser compiler build-tool css-framework web-development frontend developer-tools performance cross-platform rust cli wasm css minifier css-transformer css-modules vendor-prefixing browserslist syntax-lowering bundler nodejs web-server
5 sources
- readme: https://github.com/parcel-bundler/lightningcss · fetched 2026-08-28 · 276c54dd0ee4
- homepage: https://lightningcss.dev · fetched 2026-08-29 · 7aa1927af2fa
- site_page: https://lightningcss.dev/docs.html · fetched 2026-08-29 · 6ca35fa24ea1
- registry_crates: https://crates.io/api/v1/crates/lightningcss · fetched 2026-08-29 · e0dc196038b6
- site_page: https://lightningcss.dev/css-modules.html · fetched 2026-08-29 · c2e70a33419b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| parcel-bundler/lightningcss | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="parcel-bundler/lightningcss")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem