# postcss-reduce-transforms

> Reduce transform functions with PostCSS.

Latest version **9.0.2** (published 2026-09-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss-reduce-transforms
pnpm add postcss-reduce-transforms
yarn add postcss-reduce-transforms
bun add postcss-reduce-transforms
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 9.0.2 |
| Published | 2026-09-05 |
| First published | 2015-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4976 |
| Author | Ben Briggs |
| Maintainers | beneb, ludovicofischer, ai, chriseppstein, andyjansson, evilebottnawi, cssnano-bot |

## Links

- npm: https://www.npmjs.com/package/postcss-reduce-transforms
- Repository: https://github.com/cssnano/cssnano
- Issues: https://github.com/cssnano/cssnano/issues
- npm.io page: https://npm.io/package/postcss-reduce-transforms

## Recent versions

- 9.0.2 (latest) — 2026-09-05
- 5.0.0-rc.2 (next) — 2021-03-15
- 4.0.0-nightly.2020.2.6 (nightly) — 2021-02-06
- 9.0.1 — 2026-09-01
- 9.0.0 — 2026-08-27
- 8.0.4 — 2026-08-16
- 8.0.3 — 2026-08-09
- 8.0.2 — 2026-08-04
- 8.0.1 — 2026-06-11
- 8.0.0 — 2026-05-06
- 7.0.3 — 2026-05-02
- 7.0.2 — 2026-04-20
- 7.0.1 — 2025-05-06
- 7.0.0 — 2024-04-24
- 6.0.2 — 2024-03-06
- … 36 more at https://npm.io/package/postcss-reduce-transforms/versions

## README

# [postcss][postcss]-reduce-transforms

> Reduce transform functions with PostCSS.

## Install

With [npm](https://npmjs.org/package/postcss-reduce-transforms) do:

```
npm install postcss-reduce-transforms --save
```

## Example

This module will reduce transform functions where possible. For more examples,
see the [tests](test).

### Input

```css
h1 {
  transform: rotate3d(0, 0, 1, 20deg);
}
```

### Output

```css
h1 {
  transform: rotate(20deg);
}
```

## Usage

See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
examples for your environment.

## Contributors

See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/main/CONTRIBUTORS.md).

## License

MIT © [Ben Briggs](https://beneb.info)

[postcss]: https://github.com/postcss/postcss

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