Manpage logo

Code::TidyAll::Plugin::JSBeautify - Use js-beautify with tidyall

NAME  VERSION  SYNOPSIS  DESCRIPTION  INSTALLATION  CONFIGURATION  argv  cmd  SUPPORT  SOURCE  AUTHORS  COPYRIGHT AND LICENSE 

NAME

Code::TidyAll::Plugin::JSBeautify − Use js−beautify with tidyall

VERSION

version 0.85

SYNOPSIS

In configuration:
[JSBeautify]
select = static/**/*.js
argv = −−indent−size 2 −−brace−style expand

DESCRIPTION

Runs js−beautify <https://npmjs.org/package/js-beautify>, a JavaScript tidier.

INSTALLATION

Install npm <https://npmjs.org/>, then run

npm install js−beautify −g

Do not confuse this with the "jsbeautify" command, which is provided by the JavaScript::Beautifier module.

CONFIGURATION

This plugin accepts the following configuration options:

argv

Arguments to pass to "js−beautify".

cmd

The path for the "js−beautify" command. By default this is just "js−beautify", meaning that the user's "PATH" will be searched for the command.

SUPPORT

Bugs may be submitted at <https://github.com/houseabsolute/perl−code−tidyall/issues>.

SOURCE

The source code repository for Code−TidyAll can be found at <https://github.com/houseabsolute/perl−code−tidyall>.

AUTHORS

Jonathan Swartz <[email protected]>

Dave Rolsky <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 − 2025 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.


Updated 2026-06-01 - jenkler.se | uex.se