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

cssnano-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssnano-cli

A CLI for modular minifier cssnano.

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cssnano-cli Build Status NPM version Dependency Status

A CLI for modular minifier cssnano.

Install

With npm do:

npm install cssnano-cli --global

You can also install cssnano-cli as a development dependency of your project, and get the command by this snippet in your .bashrc:

export PATH=$PATH:./node_modules/.bin

Usage

$ cssnano --help

Usage: cssnano [input] [output] {OPTIONS}

Options:

    --sourcemap,  -s    Generate a sourcemap within the minified output.

    --no-[featureName]  Disable any individual processor module by its name.
                        [featureName] can be any one of these:

                        autoprefixer        filterOptimiser     normalizeUrl
                        calc                filterPlugins       orderedValues
                        colormin            functionOptimiser   reduceIdents
                        convertValues       mergeIdents         singleCharset
                        core                mergeLonghand       styleCache
                        discardComments     mergeRules          svgo
                        discardDuplicates   minifyFontValues    uniqueSelectors
                        discardEmpty        minifyParams        zindex
                        discardUnused       minifySelectors


    --version,    -v    Outputs the version number.

    --help,       -h    Outputs this help screen.

You can also use stdin & stdout redirections:

cssnano < main.css > main.min.css

Contributing

Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

License

MIT © Ben Briggs

Keywords

FAQs

Package last updated on 30 Dec 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