pretty-js
Version:
Beautify / pretty print JavaScript and JSON
8 lines (7 loc) • 485 B
JSON
{
"input": "// one\n //two\n(function (){'use strict';//three\n //four\nfunction () {\n /**\n *five\n * six\n seven\n\t\teight\n* nine\n */};}());",
"options": {
"convertStrings": false
},
"output": "// one\n//two\n(function () {\n 'use strict'; //three\n\n //four\n function () {\n /**\n * five\n * six\n * seven\n * eight\n * nine\n */\n };\n}());"
}