strip-css-comments-cli
Strip comments from CSS.
The command‑line tool reads CSS input, removes comment blocks, and writes the cleaned stylesheet to standard output or a file. It supports piping data directly from a file or from stdin, allowing integration into build pipelines or scripts. By default it preserves comments that start with an exclamation mark, but a regular‑expression option lets users keep any comments matching a pattern, while a flag can disable preservation entirely, stripping all comments including those marked with `/*!`.
Typical users are front‑end developers and build engineers who need a lightweight way to eliminate comments from CSS during preprocessing without writing custom scripts. The utility is installed globally via npm and runs as a single executable, making it straightforward to invoke from the command line or within other tooling.
It is a stable, core CLI package that builds on the underlying strip‑css‑comments library, exposing the same functionality through a convenient terminal interface.
Reviews
Loading reviews…
Similar apps
Terminals & CLI
strip-json-comments-cli
Strip comments from JSON.
Terminals & CLI
gzip-size-cli
Get the gzipped size of a file.
Terminals & CLI
parse-columns-cli
Parse text columns to JSON.
Terminals & CLI
viewport-list-cli
Return a list of devices and their viewports.
Terminals & CLI
npm-user-cli
Get user info of a npm user.
Terminals & CLI
mobicon-cli
Mobile app icon generator.