</>PackageGraphPackageGraph

postcss

npmv8.5.28TypeScript

Tool for transforming styles with JS plugins

Safe to adopt

Yes — postcss scores well across adoption, maintenance, weight, supply chain, and licensing. 249.3M downloads per week and 7 known dependents. Last published 6 days ago. 33 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    249.3M downloads per week and 7 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 6 days ago. 33 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 3 transitive packages, about 370 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding postcss to a project.

3
Direct dependencies

Runtime packages this one declares itself.

3
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

370 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

BSD-3-ClauseISCMIT

Every license you inherit by installing postcss, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node ^10 || ^12 || >=14
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

postcss vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
postcssthis page249.3M7MIT6 days ago
less02Apache-2.01 day ago
@adobe/css-tools02MIT1 day ago
sugarss01MIT1 day ago
node-sassdeprecated888.4K0MIT1 day ago
@csstools/css-parser-algorithms03MIT1 day ago

Dependencies

Declared by postcss v8.5.28. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on postcss.

Relationship graph

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

Frequently installed together

Release history

29 releases in the last two years, typically about 4 days apart.

Recent versions of postcss
VersionPublishedSizeLicense
8.5.28latest6 days ago213 KBMIT
8.5.276 days ago213 KBMIT
8.5.261 month ago213 KBMIT
8.5.251 month ago212 KBMIT
8.5.241 month ago211 KBMIT
8.5.231 month ago211 KBMIT
8.5.221 month ago211 KBMIT
8.5.211 month ago211 KBMIT
8.5.201 month ago210 KBMIT
8.5.191 month ago210 KBMIT
8.5.181 month ago209 KBMIT
8.5.172 months ago209 KBMIT
8.5.162 months ago202 KBMIT
8.5.153 months ago201 KBMIT
8.5.144 months ago200 KBMIT

Overview

postcss is an npm package that tool for transforming styles with JS plugins. It is extremely widely used, with about 249.3M downloads per week and 7 known dependents in the graph. The latest version is 8.5.28, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need tool for transforming styles with JS plugins and value a battle-tested, widely-adopted solution.

When not to use it

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

Pros

  • Large, well-established user base (249.3M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (3 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

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

Maintainers

Keywords

Funding

Frequently asked questions

Should I use postcss?

Yes — postcss scores well across adoption, maintenance, weight, supply chain, and licensing. 249.3M downloads per week and 7 known dependents. Last published 6 days ago. 33 releases in the last 2 years.

How do I install postcss?

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

How many dependencies does postcss have?

postcss declares 3 direct dependencies and pulls in 3 packages in total once its runtime tree is resolved totalling about 370 KB on disk.

What license is postcss released under?

postcss is distributed under the MIT license. Its dependency tree also includes: BSD-3-Clause, ISC, MIT.

How popular is postcss?

postcss has approximately 249,285,720 downloads per week and 7 known dependent packages.

Is postcss still maintained?

The most recent release of postcss (v8.5.28) was published 6 days ago.

Does postcss run install scripts?

No. postcss does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.