# autoprefixer-stylus

> autoprefixer for stylus

Latest version **1.0.0** (published 2019-07-26) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-07-26 |
| First published | 2013-10-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 (+7 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 151 |
| Author | Jeff Escalante |
| Maintainers | jescalan |

## Links

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

## Dependencies (3)

- [postcss](https://npm.io/package/postcss.md) 7.0.17
- [autoprefixer](https://npm.io/package/autoprefixer.md) 9.6.1
- [multi-stage-sourcemap](https://npm.io/package/multi-stage-sourcemap.md) 0.3.1

## Recent versions

- 1.0.0 (latest) — 2019-07-26
- 0.14.0 — 2017-05-16
- 0.13.0 — 2017-01-03
- 0.11.0 — 2016-10-06
- 0.10.0 — 2016-09-02
- 0.9.4 — 2016-07-03
- 0.9.3 — 2016-05-01
- 0.9.2 — 2016-02-26
- 0.9.1 — 2016-01-22
- 0.8.1 — 2015-10-28
- 0.8.0 — 2015-09-27
- 0.7.1 — 2015-07-14
- 0.7.0 — 2015-06-03
- 0.6.0 — 2015-05-01
- 0.5.0 — 2015-01-14
- … 9 more at https://npm.io/package/autoprefixer-stylus/versions

## README

## Autoprefixer Stylus

An [autoprefixer](https://github.com/postcss/autoprefixer) plugin for stylus.

[![npm](https://img.shields.io/npm/v/autoprefixer-stylus.svg?style=flat)](http://badge.fury.io/js/autoprefixer-stylus)
[![tests](https://img.shields.io/travis/jescalan/autoprefixer-stylus/master.svg?style=flat)](https://travis-ci.org/jescalan/autoprefixer-stylus)
[![coverage](https://img.shields.io/coveralls/jescalan/autoprefixer-stylus/master.svg?style=flat)](https://coveralls.io/r/jescalan/autoprefixer-stylus)
[![dependencies](https://img.shields.io/david/jescalan/autoprefixer-stylus.svg?style=flat)](https://david-dm.org/jescalan/autoprefixer-stylus)

### Installation

You can install through npm as such: `npm install autoprefixer-stylus`

### Usage

You can include autoprefixer-stylus as a normal stylus plugin. Basic example below:

```js
const stylus = require('stylus')
const autoprefixer = require('autoprefixer-stylus')

stylus(css)
  .use(autoprefixer())
  .render(function(err, output) {
    console.log(output)
  })
```

This plugin also takes any of the [options that autoprefixer normally takes](https://github.com/postcss/autoprefixer#options). Example with `overrideBrowswerslist` below:

```js
stylus(css).use(autoprefixer({ overrideBrowserslist: ['ie 7', 'ie 8'] }))
```

By default, this plugin will display any warnings. You can disable this with the `hideWarnings` option. Example below:

```js
stylus(css)
  .use(autoprefixer({ hideWarnings: true });
```

If you'd like to install globally and run from the command line, you can do it like this:

```js
npm install -g autoprefixer-stylus
stylus -u autoprefixer-stylus -c example.styl
```

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