# beautifier/js-beautify

Beautifier for javascript

Repository: https://github.com/beautifier/js-beautify
Canonical: https://ross.abutalabs.com/products/js-beautify
Homepage: https://beautifier.io
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, html, python, css, nodejs, hacktoberfest
Last push: 2026-08-17T23:32:35+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 59, longevity 100
- inputs: {"age_days": 6481, "days_push": 16, "days_rel": 61, "gap_med": 255.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8993, forks 1426 (observed 2026-08-28T04:10:26.696006+00:00)

## What it is
js-beautify is a widely used beautifier that reformats and re-indents JavaScript, JSON, HTML, and CSS, with a Node library, Python package, CLI, and web playground. It can also unpack packed scripts and partially deobfuscate obfuscated JavaScript.

## Use cases
- format ugly javascript code
- re-indent html and css files
- beautify  in node
- unpack dean edwards packed scripts
- partially deobfuscate javascript
- format code from the command line

## When to choose
- you need to reformat or re-indent JS/HTML/CSS/JSON
- you want a CLI, Node, or Python formatter for web code
- you need to unpack or lightly deobfuscate packed scripts

## When to avoid
- you need a full opinionated formatter with autofix linting like Prettier
- you need deep JavaScript deobfuscation
- you need formatting for languages beyond JS/HTML/CSS

## Facets
- artifact type: library
- maturity: maintenance
- function: formatter, developer-tools, cli
- domain: developer-tools, web-development, frontend
- platform: python, cli, browser, cross-platform
- tags: beautifier, code-formatting, javascript, html, css, deobfuscation, nodejs

## Member repositories
- beautifier/js-beautify (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.696006+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:22.603691+00:00, confidence not recorded.
  - readme: https://github.com/beautifier/js-beautify (fetched 2026-08-28T04:10:26.696006+00:00, sha 5665f3c08379)
  - homepage: https://beautifier.io (fetched 2026-08-29T08:24:42.400183+00:00, sha db9791c168d1)
  - registry_npm: https://registry.npmjs.org/js-beautify (fetched 2026-08-29T08:24:42.410008+00:00, sha 5fb1d4894e7a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
