Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
cssbeautify-cli
Advanced tools
CLI for cssbeautify
npm install -g cssbeautify-cli
cssbeautify-cli [options] -f filename
cssbeautify-cli [options] -f glob/**/*.pattern
Options:
-a, --autosemicolon insert a semicolon after the last ruleset [default: false]
-c, --config json config file to use
-f, --file file to beautify
-h, --help show this help message
-i, --indent string used for the indentation of the declaration (spaces, tabs or number of spaces) [default: " "]
-o, --openbrace the placement of open curly brace, either end-of-line or separate-line [default: "end-of-line"]
-s, --stdin use stdin
-v, --version Display program version
-w, --writefile write output to file
Examples
cssbeautify-cli -i2 -o "separate-line" -f ololo.css
cssbeautify-cli --indent=" " -f nyan.css
cssbeautify-cli -f "src/**/*.css" -w dst/style.css
Notes
optimist
introduces strange behaviour in some cases, e.g.
it's impossible to pass empty indent
option in the following form: -i ''
,
but these solutions work just fine: -i0
, --indent ''
, --indent=''
, --indent=0
-a
option is quite strange sometimes, check test/autosemicolon.js
for
details/*** FILENAME ***/
as separator0.5.2
-f
option now supports glob0.5.0
-w
(--writefile
) option added0.4.1
help
output fixed0.4.0
-s
(--stdin
) option added0.3.0
-c
(--config
) option added0.2.1
0.2.0
-f
(--file
) option0.1.0
-a
(--autosemicolon
), -h
(--help
), -i
(--indent
), -o
(--openbrace
), -v
(--version
)FAQs
CLI for cssbeautify
The npm package cssbeautify-cli receives a total of 14 weekly downloads. As such, cssbeautify-cli popularity was classified as not popular.
We found that cssbeautify-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.