Pretty-printing JavaScript on the shell

To pretty-print some large JavaScript files on your shell without using an online service, you may use the open source js-beautify which is available as python package:

$ pip install jsbeautifier
$ js-beautify discourse-application.min.js > discourse-application.js

Written by Christian Weiske.

Comments? Please send an e-mail.