beautifier/js-beautify

Beautifier for javascript

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 50 minutes ago
Added to GitGenius on September 7th, 2026
Created on December 4th, 2008
Open Issues & Pull Requests: 444 (+0)
GitHub issues: Enabled
Number of forks: 1,430
Total Stargazers: 8,993 (+0)
Total Subscribers: 202 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.0 days
Mean response time: 160.2 days
90th percentile: 440.5 days
Tracked items: 92

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 91% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "implementation: python" is answered fastest, typically in about 11 hours, while "language: templating" waits about 9 days. Only 3% of issues opened in the past year have been closed. Three people close 88% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 87
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,065 days
Stale 30+ days: 81
Stale 90+ days: 38

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • type: bug (40)
  • type: enhancement (32)
  • language: javascript (30)
  • good first issue (18)
  • language: html (14)
  • implementation: python (12)
  • language: css (11)
  • language: templating (10)

Most active issues this week

Detailed Description

js-beautify is a code formatter that reformats and re-indents JavaScript, HTML, and CSS.

The tool addresses the problem of working with minified, obfuscated, or poorly formatted code by parsing and reconstructing it with proper indentation and spacing. It can unpack scripts compressed by common packing tools and partly deobfuscate code processed by standard obfuscation packages. The formatter works through a parsing and re-indentation approach, available both as a command-line tool and as a library for programmatic use.

Developers should choose this tool if they need to make minified or packed JavaScript readable for debugging or analysis. It suits projects where developers encounter obfuscated third-party code or need to maintain consistent formatting across JavaScript, HTML, and CSS files. The tool is available across multiple platforms through npm for Node.js, pip for Python, and as a web interface, making it accessible regardless of development environment.

The project's maintainers have explicitly stated limited availability to work on it despite its widespread use, and the README prominently requests contributors to help address both customer-facing bugs and underlying design problems. The project maintains active continuous integration workflows and tracks dependency updates through automated tooling.