awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
beautifier avatar

beautifier/js-beautify

0
View on GitHub↗
8,975 星标·1,418 分支·JavaScript·MIT·7 次浏览beautifier.io↗

Js Beautify

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 web language standardization. This includes the ability to apply specific brace styles, indentation rules, and line wrap lengths across different web-based languages.

Features

  • Web Code Reformatters - Standardizes indentation and layout for web languages to improve the readability of minified or obfuscated source code.
  • Code Beautifiers - Reconstructs minified or compressed HTML, CSS, and JavaScript code into a human-readable format with consistent styling.
  • Formatting Configurations - Provides user-defined settings to control indentation size, brace styles, and line wrap lengths via configuration files.
  • Indentation Rules - Implements a rule-based system for defining and applying consistent brace and indentation logic.
  • Nesting Level Tracking - Maintains a nesting level counter to apply consistent indentation based on opening and closing brackets.
  • JavaScript Formatters - Standardizes the indentation and layout of JavaScript source code to improve overall readability and maintainability.
  • Lexical Tokenizers - Uses regular expressions to break raw source code into a stream of individual tokens for language-specific processing.
  • Style Guide Enforcers - Automatically enforces strict standards for brace styles and indentation rules through shared configuration files.
  • JavaScript and TypeScript Formatting - Provides dedicated styling and layout enforcement to make messy or minified JavaScript source code readable.
  • Layout Templates - Implements a system that maps user configurations to formatting templates for consistent brace and whitespace placement.
  • In-File Formatting Overrides - Allows users to control formatting behavior for specific file sections using embedded comment directives.
  • Sequential Formatting Passes - Applies a series of discrete transformation rules through sequential passes over the token stream to satisfy layout constraints.
  • Minified Code Unpackers - Converts compressed or obfuscated web code back into a human-readable format for debugging and analysis.
  • Web Language Style Standardization - Applies uniform indentation and layout rules across JavaScript, HTML, and CSS files within a web project.

Star 历史

beautifier/js-beautify 的 Star 历史图表beautifier/js-beautify 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Js Beautify 的开源替代方案

相似的开源项目,按与 Js Beautify 的功能重合度排序。
  • beautify-web/js-beautifybeautify-web 的头像

    beautify-web/js-beautify

    8,973在 GitHub 上查看↗

    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 project includes a utility for unpacking minified scripts, which transforms compressed or obfuscated JavaScript into a human-readable format. It provides a command-line interface for executing bulk code reformatting across multiple files. The tool supports customizable formatting rules and language-specific overrides, which can be

    JavaScript
    在 GitHub 上查看↗8,973
  • nicklockwood/swiftformatnicklockwood 的头像

    nicklockwood/SwiftFormat

    8,835在 GitHub 上查看↗

    SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It automatically applies consistent style rules and visual formatting to source files to ensure a uniform appearance across a project. The project differentiates itself by providing both a command-line interface for batch processing and an Xcode extension for integration directly into the development environment. It includes specialized capabilities for modernizing legacy API usage, simplifying language constructs, and inferring formatting options by analyzing an existing codebase

    Swift
    在 GitHub 上查看↗8,835
  • rome/toolsrome 的头像

    rome/tools

    23,417在 GitHub 上查看↗

    This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools for bundling, parsing, linting, and formatting source code. The toolchain is implemented in Rust and utilizes a shared internal representation to allow multiple tools to operate on the same parsed source code. It employs a parallelized analysis pipeline and single-pass parsing with error recovery to process files across CPU cores. The suite covers several core capability areas, including static analysis for identifying programmatic errors, automated style standardization, and

    Rustformatterjavascriptlinter
    在 GitHub 上查看↗23,417
  • web-infra-dev/oxcweb-infra-dev 的头像

    web-infra-dev/oxc

    21,721在 GitHub 上查看↗

    oxc is a high-performance JavaScript toolchain developed in Rust for parsing, transforming, and analyzing JavaScript and TypeScript source code. It provides a set of core utilities including a parser that converts code into an abstract syntax tree, a linter for identifying problematic patterns, a formatter for standardizing visual style, and a minifier for reducing production file sizes. The project focuses on high-performance execution through a system design that utilizes single-pass parsing, zero-copy string slicing, and parallel worker processing to handle large codebases. It further opti

    Rust
    在 GitHub 上查看↗21,721
查看 Js Beautify 的所有 30 个替代方案→

常见问题解答

beautifier/js-beautify 是做什么的?

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.

beautifier/js-beautify 的主要功能有哪些?

beautifier/js-beautify 的主要功能包括:Web Code Reformatters, Code Beautifiers, Formatting Configurations, Indentation Rules, Nesting Level Tracking, JavaScript Formatters, Lexical Tokenizers, Style Guide Enforcers。

beautifier/js-beautify 有哪些开源替代品?

beautifier/js-beautify 的开源替代品包括: beautify-web/js-beautify — js-beautify is a web language beautifier and code formatter designed to standardize the layout and structure of… nicklockwood/swiftformat — SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It… web-infra-dev/oxc — oxc is a high-performance JavaScript toolchain developed in Rust for parsing, transforming, and analyzing JavaScript… rome/tools — This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools… prettier/prettier-eslint — prettier-eslint is a command-line code stylist and JavaScript formatter that integrates Prettier and ESLint. It… checkstyle/checkstyle — Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best…