pkg.soopen package index

brew / 排名 4468

使用 Homebrew, Nix 安装 js-beautify

查看 js-beautify 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install js-beautify

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#js-beautify

nixpkgs package indexes · pkgs/by-name/js/js-beautify/package.nix · 来源: api.github.com

概览

软件包摘要

JavaScript, CSS and HTML unobfuscator and beautifier

命令和别名

  • css-beautify
  • html-beautify
  • js-beautify

历史

项目历史与用法

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.

时间线

  • 2008: GitHub repository created for js-beautify.
  • 2012: npm package publication history began with 0.1.8.
  • 2013: 1.x releases established the package as a stable CLI-era JavaScript beautifier.
  • 2024: 1.15.0 shipped in the long-running 1.x release line.
  • 2026: 2.x releases appeared on npm and the beautifier.io interface identified itself with the 2.x line.

Related projects

  • Related projects include beautifier.io, the Python jsbeautifier distribution, Prettier, ESLint formatting workflows, Dean Edwards' packer, and other source beautifiers embedded in editors and web debugging tools.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.jsbeautifyrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
css-beautify可执行文件已索引可执行文件从本地可执行文件索引发现。
html-beautify可执行文件已索引可执行文件从本地可执行文件索引发现。
js-beautify可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.0.3
管理器更新时间2026-07-01
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:js-beautify
版本2.0.3
软件包管理器Homebrew
主页https://beautifier.io
最后更新2026-07-01T18:24:39Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

js-beautify

nix profile install nixpkgs#js-beautify
  • normalized package name match
  • 匹配方式:Js Beautify
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/js/js-beautify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation