strip-css-comments-cli
Strip comments from CSS
Last updated 5 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install strip-css-comments-cli 
SYNC missed versions from official npm registry.

strip-css-comments-cli Build Status

Strip comments from CSS

Install

$ npm install --global strip-css-comments-cli

Usage

$ strip-css-comments-cli --help

  Usage
    $ strip-css-comments <input-file> > <output-file>
    $ strip-css-comments < <input-string>

  Options
    --preserve=<regex>  Preserve comments matching a regex [Default: ^!]
    --no-preserve       Strip all comments including `/*!`

  Examples
    $ strip-css-comments src/app.css > dist/app.css
    $ strip-css-comments < src/app.css --preserve='^#'

Related

License

MIT © Sindre Sorhus

Current Tags

  • 2.0.2                                ...           latest (5 years ago)

4 Versions

  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |