</>PackageGraphPackageGraph

lightningcss

npmv1.32.0TypeScript

A CSS parser, transformer, and minifier written in Rust

92.2M
Weekly downloads
3
Dependents
47
Dependencies
100/100
Popularity

Overview

lightningcss is an npm package that a CSS parser, transformer, and minifier written in Rust. It is extremely widely used, with about 92.2M downloads per week and 3 known dependents in the graph. The latest version is 1.32.0, released under the MPL-2.0 license.

Who should use it

Teams working in the npm ecosystem who need a CSS parser, transformer, and minifier written in Rust and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (92.2M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MPL-2.0).

Cons

  • Large dependency tree (47 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of lightningcss.

Dependencies

Dev (35)

@babel/parser 7.21.4@babel/traverse 7.21.4@codemirror/lang-css ^6.0.1@codemirror/lang-javascript ^6.1.2@codemirror/lint ^6.1.0@codemirror/theme-one-dark ^6.1.0@mdn/browser-compat-data ~7.3.6@napi-rs/cli ^2.14.0autoprefixer ^10.4.27caniuse-lite ^1.0.30001777codemirror ^6.0.1cssnano ^7.0.6esbuild ^0.19.8flowgen ^1.21.0jest-diff ^27.4.2json-schema-to-typescript ^11.0.2markdown-it-anchor ^8.6.6markdown-it-prism ^2.3.0markdown-it-table-of-contents ^0.6.0napi-wasm ^1.0.1node-fetch ^3.1.0parcel ^2.8.2patch-package ^6.5.0path-browserify ^1.0.1postcss ^8.3.11posthtml-include ^1.7.4posthtml-markdownit ^1.3.1posthtml-prism ^1.0.4process ^0.11.10puppeteer ^12.0.1recast ^0.22.0sharp ^0.33.5typescript ^5.7.2util ^0.12.4uvu ^0.5.6

Used by

Popular packages that depend on lightningcss.

Frequently installed together

Version history

VersionPublishedLicense
1.32.0latest4 months agoMPL-2.0
1.31.15 months agoMPL-2.0
1.31.06 months agoMPL-2.0
1.30.29 months agoMPL-2.0
1.30.11 year agoMPL-2.0
1.30.01 year agoMPL-2.0
1.29.31 year agoMPL-2.0
1.29.21 year agoMPL-2.0
1.29.11 year agoMPL-2.0
1.29.01 year agoMPL-2.0
1.28.21 year agoMPL-2.0
1.28.11 year agoMPL-2.0
1.28.01 year agoMPL-2.0
1.27.01 year agoMPL-2.0
1.26.01 year agoMPL-2.0
1.25.12 years agoMPL-2.0
1.25.02 years agoMPL-2.0
1.24.12 years agoMPL-2.0
1.24.02 years agoMPL-2.0
1.23.02 years agoMPL-2.0

Maintainers

Funding

Frequently asked questions

How do I install lightningcss?

Run `npm install lightningcss` to add lightningcss to your npm project.

What license is lightningcss released under?

lightningcss is distributed under the MPL-2.0 license.

How popular is lightningcss?

lightningcss has approximately 92,186,962 downloads per week and 3 known dependent packages.