6 个仓库
Tools specifically designed to reorganize JavaScript source code into a consistent, readable style.
Distinct from JavaScript Style Linting: Focuses on the visual layout and beautification of JS code, distinct from linting or parsing for analysis.
Explore 6 awesome GitHub repositories matching development tools & productivity · JavaScript Formatters. Refine with filters or upvote what's useful.
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
Reorganizes JavaScript source code into a consistent, readable style and visual layout.
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
Implements a utility that standardizes the visual style and indentation of JavaScript and TypeScript source code.
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
Standardizes the indentation and layout of JavaScript source code to improve overall readability and maintainability.
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
Reorganizes JavaScript source code into a consistent and readable style based on configurable indentation and spacing rules.
node-jscs 是一个静态代码分析工具和 JavaScript 代码风格检查器。它作为 JavaScript 代码格式化工具,在源代码中强制执行一致的风格指南和格式化规则。 该项目通过根据定义的风格规则检查源代码来管理团队编码标准,以保持视觉一致性。它提供了一个 JavaScript 代码检查工作流,可识别风格违规并执行自动代码格式化以解决不一致问题。 该系统利用基于 AST 的静态分析在不执行代码的情况下验证风格规则。它采用基于规则的模式匹配和访问者模式树遍历来识别格式化违规,并通过自动源代码转换来解决这些问题。
Functions as an automated utility to reorganize JavaScript source code into a consistent, readable style.
node-jscs 是一个 JavaScript 代码检查器和代码风格检查工具,旨在分析源代码并强制执行一致的编码标准。它作为静态分析工具,识别 JavaScript 代码中的模式,以确保符合定义的风格指南。 该项目提供了 JavaScript 代码检查和自动代码格式化功能。它可以检查源代码中的风格违规,并自动纠正这些错误,使代码库与指定的格式化规则保持一致。
Functions as a utility to automatically reorganize JavaScript source code into a consistent, readable style.