Friday, January 15, 2016

javascript beautify

Cool tool to beautify js code:
js-beautify
You will need Python and pip installed. Then do:
pip install jsbeautifier
Maybe you need to start pip with sudo.
Then you can do:
js-beautify file.js
without parameter you will get help.


No comments: