Code::T...Beautify(3)
πΈ Code::TidyAll::Plugin::JSBeautify β like, the whole manual, bestie πΈ
Okay so this is the Code::TidyAll::Plugin::JSBeautify page from the User Contributed Perl Documentation collection, and it's basically a tiny little plugin page that does one thing and does it cute. Let's go π
β¨ NAME β¨
Code::TidyAll::Plugin::JSBeautify β the plugin that lets you use js-beautify with tidyall. That's it, that's the vibe π
π¦ VERSION π¦
version 0.84 β yes we're on 0.84, note it and move on bestie
π SYNOPSIS π
So in configuration you'd write something like this, and it's giving exactly what it needs to give:
In configuration:
[JSBeautify]
select = static/**/*.js
argv = --indent-size 2 --brace-style expand
Copy it, paste it, slay β¨
π₯ DESCRIPTION π₯
This plugin runs js-beautify (over at https://npmjs.org/package/js-beautify), which is a JavaScript tidier. That's the whole job. It tidies your JS. Iconic behaviour, honestly π
π§ INSTALLATION π§
First step: install npm (you can find it at https://npmjs.org/), and then run this bad boy:
npm install js-beautify -g
β οΈ Not me warning you β do NOT confuse this with thejsbeautifycommand. That one is a totally different thing, provided by theJavaScript::Beautifiermodule. Differentjs-beautifywith a hyphen vs.jsbeautifywithout. Read it twice, iykyk π
π CONFIGURATION π
This plugin accepts the following configuration options (there are literally two, we love a short list):
π argv
Arguments to pass to js-beautify. Whatever you put here gets handed straight to the command, fr fr.
β cmd
The path for the js-beautify command. By default this is just js-beautify, which means the user's PATH will be searched for the command. So like, it'll go find it for you π«Ά
πΈ SUPPORT πΈ
Bugs may be submitted at https://github.com/houseabsolute/perl-code-tidyall/issues. Found something cursed? Tell them, don't suffer in silence bestie π
π SOURCE π
The source code repository for Code-TidyAll can be found at https://github.com/houseabsolute/perl-code-tidyall. Go look at the source, it's right there π
π AUTHORS π
- Jonathan Swartz
<swartz@pobox.com> - Dave Rolsky
<autarch@urth.org>
Two icons, we stan π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011 - 2023 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
The full text of the license can be found in the LICENSE file included with this distribution.
π Real talk: read the license, it's free software, redistribute it responsibly, periodt.
And that's the whole page!! Written by the perl docs crew, perl v5.42.0, dated 2024-03-08, and the header up top said Code::T...Beautify(3) because someone out there truncates long names and frankly we respect the commitment to the bit. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Code-TidyAll 0.840.0-bp160.1.4 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms