macOS
brew install js-beautifylocal Homebrew formula metadata
安装
brew install js-beautifylocal Homebrew formula metadata
nix profile install nixpkgs#js-beautifynixpkgs package indexes · pkgs/by-name/js/js-beautify/package.nix · 来源: api.github.com
概览
JavaScript, CSS and HTML unobfuscator and beautifier
历史
JS Beautifier, distributed as js-beautify, is a formatter and de-obfuscation tool for JavaScript, JSON, CSS, SCSS, HTML, and related web syntaxes. It predates the formatter monoculture around Prettier and remains a familiar CLI and web tool for turning minified or packed frontend code back into readable source.
The GitHub repository was created in December 2008, and the README describes the tool as a way to reformat bookmarklets, ugly JavaScript, scripts packed by Dean Edwards' packer, and output from JavaScript obfuscators. The project grew from JavaScript beautification into a multi-language web-source formatter with command-line binaries for JavaScript, CSS, and HTML.
The npm package history begins in July 2012 and shows steady releases across the 1.x line for more than a decade. The project also maintains beautifier.io as the browser-facing interface, making the same lineage visible both to CLI users and to developers pasting code into an online beautifier.
JS Beautifier spread through npm, Homebrew, and direct browser use because it solved a common web-development task before formatter-on-save workflows were standard. Its GitHub repository has thousands of stars and many forks, and the package-manager footprint reflects long-lived demand for a simple beautify/unobfuscate command.
The CLI is used to re-indent source files, inspect minified production JavaScript, normalize generated HTML or CSS, and run formatter settings from a .jsbeautifyrc file. It is more of a readability and recovery tool than a modern opinionated style enforcer.
js-beautify is significant because it captures an earlier era of JavaScript tooling: before bundlers, minifiers, linters, and opinionated formatters all converged into modern frontend toolchains, a small beautifier package could become infrastructure for editors, web tools, distro packages, and debugging workflows.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.jsbeautifyrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
css-beautify | cli | 全局可执行文件 | |
html-beautify | cli | 全局可执行文件 | |
js-beautify | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:js-beautify |
|---|---|
| 版本 | 2.0.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/js-beautify |
| 主页 | https://beautifier.io |
| 仓库 | https://github.com/beautifier/js-beautify |
| 上游文档 | https://beautifier.io/ |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/js-beautify/-/js-beautify-2.0.3.tgz |
| 最后更新 | 2026-07-01T18:24:39Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | js-beautify |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
js-beautify
nix profile install nixpkgs#js-beautify来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.