# broccoli-autoprefixer

> Prefix CSS using Autoprefixer

Latest version **10.0.0** (published 2024-05-01) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 10.0.0 |
| Published | 2024-05-01 |
| First published | 2014-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 3 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Author | Sindre Sorhus |
| Maintainers | slexaxton, sindresorhus, stefanpenner, valpackett |
| Keywords | broccoli-plugin, autoprefixer, postcss, css, prefix, prefixes, stylesheet, preprocess, postcss-runner |

## Links

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

## Dependencies (3)

- [postcss](https://npm.io/package/postcss.md) ^8.3.11
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^10.3.7
- [broccoli-persistent-filter](https://npm.io/package/broccoli-persistent-filter.md) ^3.1.2

## 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.0.0 (latest) — 2024-05-01
- 9.0.0 — 2021-10-26
- 8.0.0 — 2020-09-17
- 7.2.0 — 2020-07-06
- 7.0.0 — 2018-08-03
- 6.0.0 — 2018-02-28
- 5.0.0 — 2017-05-08
- 4.1.0 — 2015-11-12
- 4.0.0 — 2015-09-04
- 3.0.0 — 2015-05-31
- 2.1.0 — 2015-01-14
- 2.0.0 — 2014-11-16
- 1.1.0 — 2014-08-22
- 1.0.0 — 2014-08-04
- 0.4.1 — 2014-07-31
- … 4 more at https://npm.io/package/broccoli-autoprefixer/versions

## README

# [broccoli](https://github.com/joliss/broccoli)-autoprefixer

> Prefix CSS using [Autoprefixer](https://github.com/postcss/autoprefixer)

*Issues with the output should be reported on the Autoprefixer [issue tracker](https://github.com/postcss/autoprefixer/issues).*

## Install

```sh
npm install --save-dev broccoli-autoprefixer
```

## Usage

```js
import Autoprefixer from 'broccoli-autoprefixer';

tree = new Autoprefixer(tree, options);
```

## API

### Autoprefixer(tree, options?)

#### options

Type: `object`

See the Autoprefixer [options](https://github.com/postcss/autoprefixer#options).

In addition, you can set this option:

##### sourcemap

Type: `boolean`\
Default: `true` if the input has a sourcemap, otherwise `false`

Set to `true` to include a Base64-encoded sourcemap at the end of the output.

If a sourcemap already exists in the input, Autoprefixer will automatically include an updated sourcemap in the output. Set this value to `false` to strip out the sourcemap entirely.

If you'd like to extract the inline sourcemap from the output, consider using a tool like [`broccoli-source-map`](https://github.com/myfreeweb/broccoli-source-map).

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