js-beautify is a web language beautifier and code formatter designed to standardize the layout and structure of JavaScript, HTML, and CSS files. It reorganizes source code into a consistent, readable style by applying configurable indentation and spacing rules.
The main features of beautify-web/js-beautify are: Code Formatters, JavaScript Formatters, CLI Code Formatters, Formatting Rule Overrides, CSS Formatters, Formatting Configurations, HTML Formatters, Multi-Language Code Formatters.
Open-source alternatives to beautify-web/js-beautify include: beautifier/js-beautify — js-beautify is a web language beautifier and rule-based code stylizer designed to standardize the indentation and… prettier/prettier — Prettier is an opinionated code formatter that parses source code and reprints it from scratch to enforce a… prettier/prettier-eslint — prettier-eslint is a command-line code stylist and JavaScript formatter that integrates Prettier and ESLint. It… rust-lang-nursery/rustfmt — rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide.… nicklockwood/swiftformat — SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It… stylelint/stylelint — Stylelint is a static code analysis tool and linter for CSS and style-like languages. It identifies errors, enforces…
js-beautify is a web language beautifier and rule-based code stylizer designed to standardize the indentation and layout of JavaScript, HTML, and CSS. It converts minified or obfuscated source code into a human-readable format to improve maintainability and readability. The system enforces consistent coding styles through global configuration files and programmatic options. It also supports local formatting overrides, allowing users to control behavior for specific sections of a file using embedded comment directives. The project provides capabilities for source code style enforcement and we
Prettier is an opinionated code formatter that parses source code and reprints it from scratch to enforce a consistent, project-wide visual style. By transforming code into an abstract syntax tree and applying a recursive document printing process, it eliminates manual style debates and ensures that all source files adhere to a unified appearance. The project is distinguished by its extensible, plugin-based architecture, which decouples language-specific parsing logic from the core engine. This modular design allows for uniform style enforcement across diverse programming languages and comple
prettier-eslint is a command-line code stylist and JavaScript formatter that integrates Prettier and ESLint. It functions as a linter wrapper, coordinating a sequential pipeline of formatting and linting tasks to ensure source code is both aesthetically consistent and rule-compliant. The tool resolves conflicts between style guides and logic rules by executing linting fixes after formatting. It allows for a configurable formatting sequence to prioritize specific rules and can identify unformatted files to facilitate use in version control hooks. The project provides capabilities for automati
rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide. It functions as both a code formatter for transforming source files and a style linter used to verify if code matches required formatting rules. The system is configurable, allowing for the definition of custom formatting rules and language editions through configuration files to override default styles. It also supports selective formatting by using dedicated skip markers to prevent specific blocks of code from being modified. The tool provides capabilities for both source