{
  "slug": "js-beautify",
  "name": "gizza-ai/js-beautify",
  "version": "0.1.0",
  "title": "JavaScript Beautifier — format & re-indent minified JS — gizza.ai",
  "description": "Re-indent minified or obfuscated JavaScript into clean, readable source — strings, regex and comments preserved. Free, in your browser; nothing uploaded.",
  "tags": [
    "javascript beautifier",
    "js beautifier",
    "format javascript",
    "unminify javascript",
    "pretty print javascript",
    "js formatter"
  ],
  "category": "developer",
  "urls": {
    "page": "https://gizza.ai/tools/js-beautify/",
    "markdown": "https://gizza.ai/tools/js-beautify/index.md",
    "descriptor": "https://gizza.ai/tools/js-beautify/tool.json",
    "deep_link_example": "https://gizza.ai/tools/js-beautify/?code=function%20f%28%29%7Breturn%20a%3F1%3A2%7D&indent=2&indent_char=space"
  },
  "cli": "gizza tool js-beautify \"function f(){return a?1:2}\"",
  "tool": {
    "description": "Re-indent and pretty-print minified or obfuscated JavaScript into clean, readable source. One statement per line; nested blocks, objects and arrays are indented. indent is spaces per level (1-8, default 2). Strings, regex and comments are preserved verbatim.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "description": "The JavaScript source to re-indent and format.",
          "type": "string"
        },
        "indent": {
          "default": 2,
          "description": "Spaces of indentation per nesting level (1-8). Ignored when indent_char is 'tab'. Default 2.",
          "maximum": 8,
          "minimum": 1,
          "type": "integer"
        },
        "indent_char": {
          "default": "space",
          "description": "Indent with spaces or a tab character per level. Default space.",
          "enum": [
            "space",
            "tab"
          ],
          "type": "string"
        }
      },
      "required": [
        "code"
      ],
      "type": "object"
    }
  }
}