Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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 or glob pattern
-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.3
0.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
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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.