macOS
brew install qnmlocal Homebrew formula metadata
安装
brew install qnmlocal Homebrew formula metadata
概览
CLI for querying the node_modules directory
历史
qnm is a TypeScript/Node.js command-line utility for quickly querying installed packages within node_modules. It focuses on versions, duplicate installations, dependency paths, fuzzy discovery, and package-tree diagnostics.
qnm originated from the maintainer's need for a faster, more focused way to check versions installed under node_modules than npm list or manual package.json inspection.
The tool expanded into an interactive and monorepo-aware inspector with substring matching, dependency explanations, release-age information, package homepage lookup, and a doctor command for duplication and disk-use analysis.
The project supports npm and Yarn dependency layouts, including monorepos, and its README now recommends ephemeral execution with npx or bunx while retaining global npm installation as an option. source_facts.package-manager also records Homebrew packaging.
Running qnm with a package name reports installed occurrences and their dependency paths. Running it without arguments opens fuzzy search; match filters package names; list inventories modules; doctor highlights duplication and heavy packages; --no-remote avoids npm registry queries.
qnm is explicitly a package-inspection tool for people who care about dependency trees: it exposes duplicated versions, dependency paths, release age, fuzzy search, and disk-heavy modules more directly than broad package-manager listings.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
qnm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ranyitz/qnm
安装元数据
| 软件包键 | brew:qnm |
|---|---|
| 版本 | 2.10.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/qnm |
| 主页 | https://github.com/ranyitz/qnm |
| 仓库 | https://github.com/ranyitz/qnm |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/qnm/-/qnm-2.10.4.tgz |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | qnm |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.