js-beautify is a JavaScript beautifier and code formatter. It helps make code more readable and maintainable by applying consistent indentation, spacing, and line breaks. Supports HTML, CSS, JavaScript, and JSON. It offers customizable formatting options, allowing developers to define their preferred coding style. Great for code editors, build processes, and pre-commit hooks, improving code quality and team collaboration. Simplifies code reviews and debugging by enhancing visual clarity.
Js-beautify npm package downloads show a general upward trend from February 2024 to July 2025, with a significant jump in March 2024. Downloads peaked in July 2025 at around 24.7 million. August 2025 data is incomplete, showing a dip to 15.5 million.
Js-beautify's release frequency is highly variable. Releases were frequent in 2012-2013, especially in March 2013 (10 releases). From 2015 to 2021, releases were sporadic. After a lull in 2022, there were a few releases in 2023. In February 2024 and 2025, there were two and three releases respectively. The release data shows no releases for the months of August/September 2025.