Code::...utifier(3pm)

πŸ“¦
version 0.25 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… Code::...utifier(3pm) β€” the manual page, but make it make sense

okay so bestie, quick vibe check: this is the User Contributed Perl Documentation page for a lil Perl plugin, and the manual name on it is literally Code::...utifier(3pm) (yes the header truncated itself mid-word, iconic behavior honestly πŸ’€). Anyway. Sit down, grab a strawberry, and let's get into it πŸ“βœ¨


✨ NAME ✨

Code::TidyAll::Plugin::JSBeautifier β€” it's the lil glue that lets you use JavaScript::Beautifier with tidyall πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

heads up, this module requires Code::TidyAll. no TidyAll, no party.

In the .tidyallrc configuration file add:

[JSBeautifier]
select = static/**/*.js

Then run

tidyall -a

and boom, you're beautified πŸ’–


🌸 DESCRIPTION 🌸

It runs "js_beautify" from JavaScript::Beautifier β€” which is a JavaScript tidier, except the whole thing is implemented in Perl. yes fr fr, Perl doing JavaScript's makeup. we love a crossover episode πŸ‘‘


🌈 INSTALLATION 🌈

cpanm Code::TidyAll

one line. that's it. that's the whole step. ate. πŸ’…


πŸ’œ CONFIGURATION πŸ’œ

  • argv β€” the arguments you wanna pass along to js_beautify. give it what it needs, bestie 🫢
  • cmd β€” the full path to js_beautify. like, the whole entire path. no shortcuts, no cap ⭐

lowkey the whole module is just "configure it in .tidyallrc, then run tidyall -a" and honestly? that's the dream setup. simple, clean, no drama 🧚

and that's the page, bestie! this whole thing is perl v5.36.0, dated 2022-11-29, and it's filed under that Code::...utifier(3pm) name forever (the truncation is part of the lore now, we don't question it πŸ’€). bye bestie, go tidy some JS! πŸ’–βœ¨πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from