# strip-css-comments-cli **Repository Path**: mirrors_sindresorhus/strip-css-comments-cli ## Basic Information - **Project Name**: strip-css-comments-cli - **Description**: Strip comments from CSS - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # strip-css-comments-cli > Strip comments from CSS ## Install ``` $ npm install --global strip-css-comments-cli ``` ## Usage ``` $ strip-css-comments --help Usage $ strip-css-comments > $ strip-css-comments < Options --preserve= 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 - [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - API for this module