Skip Menu |

This queue is for tickets about the JavaScript-Beautifier CPAN distribution.

Report information
The Basics
Id: 53220
Status: resolved
Priority: 0/
Queue: JavaScript-Beautifier

People
Owner: Nobody in particular
Requestors: notifier [...] spam.la
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Allow STDIN input for js_beautify.pl
It would be of much help if the js_beautify.pl script would allow the javascript to be passed in from STDIN. This would make it easier to use this program as an external filter for various editors.
I just upload http://fayland.org/CPAN/JavaScript-Beautifier-0.17.tar.gz to CPAN

and it supports

cat test.js | js_beautify.pl -

remember the '-' at the end.

Thanks. let me know if it works or not.