macOS
brew install libxolocal Homebrew formula metadata
sudo port install libxoMacPorts ports tree · devel/libxo/Portfile · 来源: api.github.com
安装
brew install libxolocal Homebrew formula metadata
sudo port install libxoMacPorts ports tree · devel/libxo/Portfile · 来源: api.github.com
sudo apk add libxoAlpine Linux edge package indexes · libxo · 来源: dl-cdn.alpinelinux.org
sudo dnf install libxoFedora Rawhide package metadata · libxo · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libxonixpkgs package indexes · pkgs/by-name/li/libxo/package.nix · 来源: api.github.com
概览
Allows an application to generate text, XML, JSON, and HTML output
历史
libxo is a C library from Juniper for emitting traditional text, XML, JSON, and HTML from one set of output calls. It is best known in package culture through FreeBSD's structured-output work.
The project README explains the central idea: applications call xo_emit with field descriptors, and the selected output style is chosen at runtime. GitHub tag metadata places the 0.1.0 tag at a commit dated 2014-07-30.
The FreeBSD manual page records Phil Shafer as author and says the library was added in FreeBSD 11.0. That adoption moved libxo from a standalone library into the base-system conversation about machine-readable command output.
FreeBSD's adoption gave libxo a practical audience: base utilities could keep human-readable output while adding JSON, XML, or HTML modes for scripts and automation. The package is also available outside FreeBSD for projects that want the same structured-output model.
Users generally encounter libxo through commands that accept a libxo output mode or through the xo utility family. Developers use the library when they want one formatting path to serve terminal text and structured data consumers.
libxo matters because it is a concrete answer to the long-running Unix problem of parsing human text with fragile awk and sed pipelines. It represents the package-manager-adjacent push toward structured CLI output without abandoning traditional command output.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
libxo-config | cli | 全局可执行文件 | |
xo | cli | 全局可执行文件 | |
xohtml | cli | 全局可执行文件 | |
xolint | cli | 全局可执行文件 | |
xopo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Juniper/libxo
安装元数据
| 软件包键 | brew:libxo |
|---|---|
| 版本 | 1.7.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libxo |
| 主页 | https://juniper.github.io/libxo/libxo-manual.html |
| 仓库 | https://github.com/Juniper/libxo |
| 上游文档 | https://juniper.github.io/libxo/libxo-manual.html |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/Juniper/libxo/releases/download/1.7.5/libxo-1.7.5.tar.gz |
| 构建依赖 | libtool |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libxo |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libxo
nix profile install nixpkgs#libxolibxo 1.7.5-r0
Library for Generating Text, XML, JSON, and HTML Output
http://juniper.github.io/libxo/libxo-manual.html
sudo apk add libxolibxo-dev 1.7.5-r0
Library for Generating Text, XML, JSON, and HTML Output (development files)
http://juniper.github.io/libxo/libxo-manual.html
sudo apk add libxo-devlibxo-doc 1.7.5-r0
Library for Generating Text, XML, JSON, and HTML Output (documentation)
http://juniper.github.io/libxo/libxo-manual.html
sudo apk add libxo-doclibxo 1.7.5-3.fc44
A Library for Generating Text, XML, JSON, and HTML Output
https://github.com/Juniper/libxo
sudo dnf install libxolibxo-devel 1.7.5-3.fc44
Development files for libxo
https://github.com/Juniper/libxo
sudo dnf install libxo-devellibxo
sudo port install libxo来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.