# autoprefixer

> Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website

Latest version **10.6.0** (published 2026-09-12) · MIT license · 0 weekly downloads

## Install

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

Provides the command `autoprefixer`.

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 10.6.0 |
| Published | 2026-09-12 |
| First published | 2013-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | ^10 \|\| ^12 \|\| >=14 |
| Dependencies | 5 |
| Unpacked size | 197.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 22228 |
| Author | Andrey Sitnik |
| Maintainers | ai |
| Keywords | autoprefixer, css, postcss, postcss-plugin, prefix |

## Links

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

## Dependencies (5)

- [picocolors](https://npm.io/package/picocolors.md) ^1.1.1
- [fraction.js](https://npm.io/package/fraction.js.md) ^5.3.4
- [browserslist](https://npm.io/package/browserslist.md) ^4.28.9
- [caniuse-lite](https://npm.io/package/caniuse-lite.md) ^1.0.30001810
- [postcss-value-parser](https://npm.io/package/postcss-value-parser.md) ^4.2.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 10.6.0 (latest) — 2026-09-12
- 10.5.6 — 2026-09-10
- 10.5.5 — 2026-09-04
- 10.5.4 — 2026-07-16
- 10.5.3 — 2026-07-14
- 10.5.2 — 2026-06-24
- 10.5.1 — 2026-06-23
- 10.5.0 — 2026-04-13
- 10.4.27 — 2026-02-25
- 10.4.26 — 2026-02-25
- 10.4.25 — 2026-02-25
- 10.4.24 — 2026-01-30
- 10.4.23 — 2025-12-14
- 10.4.22 — 2025-11-10
- 10.4.21 — 2025-03-09
- … 244 more at https://npm.io/package/autoprefixer/versions

## README

# Autoprefixer

<img align="right" width="94" height="71"
     src="https://postcss.github.io/autoprefixer/logo.svg"
     title="Autoprefixer logo by Anton Lovchikov">

[PostCSS] plugin to parse CSS and add vendor prefixes to CSS rules using values
from [Can I Use]. It is recommended by Google and used in Twitter and Alibaba.

Write your CSS rules without vendor prefixes (in fact, forget about them
entirely):

```css
::placeholder {
  color: gray;
}

.image {
  width: stretch;
}
```

Autoprefixer will use the data based on current browser popularity and property
support to apply prefixes for you. You can try the [interactive demo]
of Autoprefixer.

```css
::-moz-placeholder {
  color: gray;
}
::placeholder {
  color: gray;
}

.image {
  width: -moz-available;
  width: -webkit-fill-available;
  width: stretch;
}
```

Twitter account for news and releases: [@autoprefixer].

---

<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  Autoprefixer 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>.

---

[interactive demo]: https://autoprefixer.github.io/
[@autoprefixer]: https://twitter.com/autoprefixer
[Can I Use]: https://caniuse.com/
[PostCSS]: https://github.com/postcss/postcss

## Docs
Read full docs **[here](https://github.com/postcss/autoprefixer#readme)**.

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