# postcss

> Tool for transforming styles with JS plugins

Latest version **8.5.28** (published 2026-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss
pnpm add postcss
yarn add postcss
bun add postcss
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 8.5.28 |
| Published | 2026-09-03 |
| First published | 2013-11-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^10 \|\| ^12 \|\| >=14 |
| Dependencies | 3 |
| Unpacked size | 213.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 28972 |
| Author | Andrey Sitnik |
| Maintainers | ai |
| Keywords | css, manipulation, parser, postcss, preprocessor, rework, source map, transform, transpiler |

## Links

- npm: https://www.npmjs.com/package/postcss
- Repository: https://github.com/postcss/postcss
- Homepage: https://postcss.org/
- Issues: https://github.com/postcss/postcss/issues
- Funding: https://opencollective.com/postcss/
- npm.io page: https://npm.io/package/postcss

## Dependencies (3)

- [nanoid](https://npm.io/package/nanoid.md) ^3.3.18
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.1
- [source-map-js](https://npm.io/package/source-map-js.md) ^1.2.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 8.5.28 (latest) — 2026-09-03
- 8.5.27 — 2026-09-03
- 8.5.26 — 2026-08-06
- 8.5.25 — 2026-07-29
- 8.5.24 — 2026-07-28
- 8.5.23 — 2026-07-24
- 8.5.22 — 2026-07-22
- 8.5.21 — 2026-07-21
- 8.5.20 — 2026-07-19
- 8.5.19 — 2026-07-13
- 8.5.18 — 2026-07-12
- 8.5.17 — 2026-07-11
- 8.5.16 — 2026-06-28
- 8.5.15 — 2026-05-19
- 8.5.14 — 2026-05-04
- … 277 more at https://npm.io/package/postcss/versions

## README

# PostCSS

<img align="right" width="95" height="95"
     alt="Philosopher’s stone, logo of PostCSS"
     src="https://postcss.org/logo.svg">

PostCSS is a tool for transforming styles with JS plugins.
These plugins can lint your CSS, support variables and mixins,
transpile future CSS syntax, inline images, and more.

PostCSS is used by industry leaders including Wikipedia, Twitter, Alibaba,
and JetBrains. The [Autoprefixer] and [Stylelint] PostCSS plugins are some of the most popular CSS tools.

---

<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  PostCSS is built by <b><a href="https://evilmartians.com/">Evil Martians</a></b>, an American design and engineering consultancy for <b>developer tools, AI, and cybersecurity startups</b>.

---

[Abstract Syntax Tree]: https://en.wikipedia.org/wiki/Abstract_syntax_tree
[Evil Martians]: https://evilmartians.com/?utm_source=postcss
[Autoprefixer]: https://github.com/postcss/autoprefixer
[Stylelint]: https://stylelint.io/
[plugins]: https://github.com/postcss/postcss#plugins

## Docs
Read full docs **[here](https://postcss.org/)**.

---
_Source: https://npm.io/package/postcss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
