Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

less-plugin-autoprefix

2.0.0 • Public • Published

NPM version Dependencies devDependency Status optionalDependency Status

less-plugin-autoprefix

Uses autoprefixer to add prefixes to css after conversion from less.

lessc usage

Install..

npm install -g less-plugin-autoprefix

and then on the command line,

lessc file.less --autoprefix="browsers"

The browsers are a comma seperated list of browsers as specified with autoprefixer.

Programmatic usage

var LessPluginAutoPrefix = require('less-plugin-autoprefix'),
    autoprefixPlugin = new LessPluginAutoPrefix({browsers: ["last 2 versions"]});
less.render(lessString, { plugins: [autoprefixPlugin] })
  .then(

Browser usage

Browser usage is not supported at this time.

install

npm i less-plugin-autoprefix

Downloadsweekly downloads

18,965

version

2.0.0

license

none

homepage

lesscss.org

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability