Socket
Socket
Sign inDemoInstall

less-plugin-clean-css

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

less-plugin-clean-css

clean-css plugin for less.js


Version published
Weekly downloads
44K
increased by9.59%
Maintainers
1
Weekly downloads
 
Created
Source

NPM version Dependencies devDependency Status optionalDependency Status

less-plugin-clean-css

Compresses the css output from less using clean-css.

lessc usage

npm install -g less-plugin-clean-css

and then on the command line,

lessc file.less --clean-css="--s1 --advanced --compatibility=ie8"

See clean-css for the available command options - the only differences are advanced and rebase which we default to false, because it is not always entirely safe.

Programmatic usage

var LessPluginCleanCSS = require('less-plugin-clean-css'),
    cleanCSSPlugin = new LessPluginCleanCSS({advanced: true});
less.render(lessString, { plugins: [cleanCSSPlugin] })
  .then(

Browser usage

Browser usage is not supported at this time.

Keywords

FAQs

Package last updated on 23 Jul 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