pkg.soopen package index

brew / 排名 10870

使用 Homebrew 安装 titlecase

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install titlecase

local Homebrew formula metadata

概览

软件包摘要

Script to convert text to title case

命令和别名

  • titlecase

历史

项目历史与用法

titlecase is a small Perl command-line script and library-style function for converting text to title case. Its history is tied to John Gruber's Daring Fireball title-casing script and Aristotle Pagaltzis's refactoring/test-suite version.

项目历史

John Gruber published his original Perl title-case script on Daring Fireball in May 2008, explaining that he used it to standardize Linked List headlines and that it handled small words, internal capitalization, domains, edge cases such as AT&T and Q&A, and first/last word capitalization.

In August 2008 Gruber credited Aristotle Pagaltzis with refactoring the Perl script in a more straightforward way, fixing edge cases, and turning David Gouch's test cases into a proper test suite. The plasmasturm project page describes titlecase as that refactoring and points to the program, test suite, and Git repository.

采用历史

titlecase's adoption is intentionally small. It is a one-command text-processing utility for editors, scripts, publication workflows, and package users who want the Gruber-style title-casing behavior without embedding a larger formatting library.

The input metadata lists Homebrew as its package-manager surface. That matches its package-nerd profile: tiny Perl script, stdin/stdout behavior, reproducible test cases, and a narrow job that is convenient to install globally.

使用方式

The plasmasturm documentation says the program under test should read any number of titles from standard input, one title per line, and write corrected titles to standard output in the same form. The script also exposes a titlecase function internally and includes a -f option to force lowercasing before title-casing.

The test suite is a Perl script that can be passed a command line for invoking any program that performs title casing, making the project useful not only as a tool but also as a compatibility reference for other implementations.

为什么软件包爱好者会关心

titlecase matters in the package-nerd niche because it is the kind of single-file text utility that earns a package slot through reliability and provenance rather than breadth. Its value is traceable behavior: a known editorial algorithm, a test corpus, and a simple stdin/stdout interface.

时间线

  • 2008-05-20: John Gruber published the original Daring Fireball Title Case Perl script.
  • 2008-07-28: The ap/titlecase GitHub repository was created.
  • 2008-08-13: Gruber credited Aristotle Pagaltzis's refactoring and test suite as better than the original script.
  • 2009-11-04: The plasmasturm titlecase page published the refactored project page.
  • 2018-02-26: The plasmasturm page shows an update date.

Related projects

  • John Gruber's original Daring Fireball Title Case script is the direct ancestor.
  • David Gouch's JavaScript title-case implementation and tests are part of the documented test-suite lineage.
  • Other ports mentioned by Gruber include JavaScript, Python, Ruby, PHP, Objective-C, and Nu implementations.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
titlecasecli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本1.015
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.015

https://github.com/ap/titlecase

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:titlecase
版本1.015
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/titlecase
主页http://plasmasturm.org/code/titlecase/
仓库https://github.com/ap/titlecase
上游文档http://plasmasturm.org/code/titlecase/
许可证MIT
源码归档https://github.com/ap/titlecase/archive/refs/tags/v1.015.tar.gz
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametitlecase
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation