NAME

Sidef::Tidy - Sidef beautifier

SYNOPSIS

use Sidef::Tidy qw/sf_beautify/;

my $pretty_sf = sf_beautify( $sf_source_code, {
    indent_size => 4,
    indent_character => ' ',
} );

DESCRIPTION

This module is mostly a Perl-rewrite of http://github.com/einars/js-beautify/tree/master/beautify.js

You can check it through http://jsbeautifier.org/

AUTHOR

Fayland Lam, <fayland at gmail.com>

COPYRIGHT & LICENSE

Copyright 2008 Fayland Lam, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.