macOS
brew install jqfmtlocal Homebrew formula metadata
安装
brew install jqfmtlocal Homebrew formula metadata
nix profile install nixpkgs#jqfmtnixpkgs package indexes · pkgs/by-name/jq/jqfmt/package.nix · 来源: api.github.com
概览
Opinionated formatter for jq
历史
jqfmt is a small Go command-line formatter for jq programs, built for the practical problem of reading long shell one-liners that contain dense jq expressions.
The README describes jqfmt as an opinionated formatter written after the author found long jq-heavy shell snippets difficult to inspect. Its implementation began from code taken out of itchyny/gojq's query parser because gojq did not expose the parser and AST walking API the author wanted.
Adoption evidence is modest and package-manager oriented: Homebrew packages jqfmt from its v0.1.0 GitHub tag, and the input batch also records Nix packaging. Homebrew analytics for the formula showed 92 installs over the 365-day window reported by the formula API on 2026-07-01.
jqfmt reads jq expressions from a file or standard input and adds line breaks around selected structures such as objects, arrays, pipes, and operators. It is meant as a readability tool rather than a replacement for jq itself.
The tool is notable because jq has many linters, wrappers, and JSON formatters, but fewer dedicated formatters for jq's own query language. jqfmt also illustrates a common small-tool pattern: extract just enough parser machinery from an implementation such as gojq to make a narrow CLI utility.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jqfmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/noperator/jqfmt
安装元数据
| 软件包键 | brew:jqfmt |
|---|---|
| 版本 | 0.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jqfmt |
| 主页 | https://github.com/noperator/jqfmt |
| 仓库 | https://github.com/noperator/jqfmt |
| 上游文档 | https://github.com/noperator/jqfmt#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/noperator/jqfmt/archive/refs/tags/v0.1.0.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jqfmt |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jqfmt
nix profile install nixpkgs#jqfmt来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.