CSS-BEAUTIFY.JS(1)
π css-beautify.js(1) β the girlies' guide to pretty-printing your stylesheets β¨
okay bestie, gather round, because this is css-beautify.js(1) from the User Commands section and she is serving. it's a lil command-line glow-up for your code and I'm gonna walk you through every single flag, no skips, no shortcuts. π
πΈ NAME πΈ
css-beautify.js β literally just, css-beautify. that's her name. that's the whole vibe. π
β¨ DESCRIPTION β¨
css-beautify.js@1.14.0 β yeah, version 1.14.0, she's got receipts. π
π οΈ CLI Options: (the buttons and knobs, babes)
-f,--fileβ the input file(s) you wanna feed her. pass'-'if you want her to read from stdin instead, iykyk. π-r,--replaceβ writes the output right back in-place, replacing the input. no take-backs, she's committed. π-o,--outfileβ write the output to a file instead. and if you don't say anything? default is stdout. periodt.--configβ the path to your config file. hand her the map, she'll follow it. πΊοΈ--type [js|css|html] ["js"]β tell her what kinda file she's working with. default vibe is"js".-q,--quietβ suppress logging to stdout. she's not gonna narrate, she's just gonna work. π€«-h,--helpβ show this help. hi, hello, here's the tea. π«Ά-v,--versionβ show the version. flex. π
π Beautifier Options: (the actual glow-up settings)
-s,--indent-sizeβ how big your indentation is. default[4]. π-c,--indent-charβ what character does the indenting. default is[" "]. yes, that's a space, she's classy. β¨-t,--indent-with-tabsβ indent with tabs instead. and heads up: this overrides-sand-c. tabs said "move, I'm the main character." π-e,--eolβ the character(s) she uses as line terminators. default is[first newline in file, otherwise "\n]. π¦-n,--end-with-newlineβ end the output with a newline. a lil bow on top. π--indent-empty-linesβ keeps indentation on empty lines. yes, even the empty ones get the treatment. π--templatingβ list of templating languages. your options are(auto,none,django,erb,handlebars,php,smarty)and the default is["auto"]. and what doesautomean?auto=nonein JavaScript, but all of them in html. she's context-aware, she's smart. π§--editorconfigβ use EditorConfig to set up the options. let the config file do the talking. π-b,--brace-styleβ[collapse|expand], default["collapse"]. pick your fighter. π₯-L,--selector-separator-newlineβ adds a newline between multiple selectors. breathing room, we love her. πΈ-N,--newline-between-rulesβ adds a newline between CSS rules. same energy, different scope. π
ngl bestie, that's the whole list. no hidden flags, no mystery options, every single one is right there. π
and that's a wrap on css-beautify.js(1) β brought to you by css-beautify.js 1.14.0, dated November 2021. she's been iconic since day one and she still ate. mwah, go format something pretty. π
β¨π
π¦ where this page comes from
- ubuntu jammy: node-js-beautify 1.14.0+dfsg+~0.15.3-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms