Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-autoprefixer

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-autoprefixer

Prefix CSS using Autoprefixer

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

broccoli-autoprefixer Build Status

Prefix CSS using Autoprefixer

Issues with the output should be reported on the Autoprefixer issue tracker.

Install

$ npm install --save broccoli-autoprefixer

Usage

var autoprefixer = require('broccoli-autoprefixer');
tree = autoprefixer(tree, options);

API

autoprefixer(tree, options)

options
browsers

Type: array
Default: ['> 1%', 'last 2 versions', 'Firefox ESR', 'Opera 12.1']

The browsers you need to support.

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.

cascade

Type: boolean
Default: true

Autoprefixer changes CSS indentation to create a nice visual cascade of prefixes.

License

MIT © Sindre Sorhus

Keywords

FAQs

Package last updated on 14 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc