New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lasso-autoprefixer

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lasso-autoprefixer

Autoprefixer plugin for Lasso.js using postcss & autoprefixer

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-57.14%
Maintainers
5
Weekly downloads
 
Created
Source

lasso-autoprefixer

This plugin for the Lasso.js will run your css through autoprefixer allowing you to write css without having to worry about vendor prefixes.

Installation

Install the plugin:

npm install lasso-autoprefixer --save

Enable the plugin:

require('lasso').configure({
    plugins: [
        {
            plugin: 'lasso-autoprefixer',
            config: {
                ... // See below for config options
            }
        },
        ...
    ]
});

Plugin Configuration

It is recommended to use config that is [shareable between all tools] (https://github.com/postcss/autoprefixer#browsers), but config can also be passed directly if needed. See Autoprefixer options.

Sample Configuration

require('lasso').configure({
    plugins: [
        {
            "plugin": "lasso-autoprefixer",
            "config": {
                "browsers": [
                    "Android >= 2.3",
                    "BlackBerry >= 7",
                    "Chrome >= 9",
                    "Firefox >= 4",
                    "Explorer >= 9",
                    "iOS >= 5",
                    "Opera >= 11",
                    "Safari >= 5",
                    "OperaMobile >= 11",
                    "OperaMini >= 6",
                    "ChromeAndroid >= 9",
                    "FirefoxAndroid >= 4",
                    "ExplorerMobile >= 9"
                ]
            }
        },
        ...
    ]
});

Keywords

FAQs

Package last updated on 11 Jun 2019

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