autoprefixer-stylus
autoprefixer for stylus
Last updated 7 years ago by jescalan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install autoprefixer-stylus 
SYNC missed versions from official npm registry.

Autoprefixer Stylus

An autoprefixer plugin for stylus.

npm tests coverage dependencies

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:

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. Example with overrideBrowswerslist below:

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:

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:

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

Current Tags

  • 1.0.0                                ...           latest (7 years ago)

24 Versions

  • 1.0.0                                ...           7 years ago
  • 0.14.0                                ...           10 years ago
  • 0.13.0                                ...           10 years ago
  • 0.11.0                                ...           10 years ago
  • 0.10.0                                ...           10 years ago
  • 0.9.4                                ...           10 years ago
  • 0.9.3                                ...           11 years ago
  • 0.9.2                                ...           11 years ago
  • 0.9.1                                ...           11 years ago
  • 0.8.1                                ...           11 years ago
  • 0.8.0                                ...           11 years ago
  • 0.7.1                                ...           11 years ago
  • 0.7.0                                ...           11 years ago
  • 0.6.0                                ...           12 years ago
  • 0.5.0                                ...           12 years ago
  • 0.4.0                                ...           12 years ago
  • 0.3.1                                ...           12 years ago
  • 0.3.0                                ...           12 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.0                                ...           13 years ago
  • 0.0.4                                ...           13 years ago
  • 0.0.3                                ...           13 years ago
  • 0.0.2                                ...           13 years ago
  • 0.0.1                                ...           13 years ago
Maintainers (1)
Downloads
Total 80
Today 0
This Week 12
This Month 42
Last Day 0
Last Week 6
Last Month 15
Dependencies (3)
Dev Dependencies (7)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE