# 使用 npm 安装 purl

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

## 安装

```sh
sudo av install npm:purl
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g purl
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:purl
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/purl>
- **版本:** 2.1.0
- **来源摘要:** a PURL ( https://tc54.org/purl/ ) parser and serializer
- **主页:** <https://github.com/ljharb/purl#readme>
- **仓库:** <https://github.com/ljharb/purl>
- **上游文档:** <https://github.com/ljharb/purl#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/purl/-/purl-2.1.0.tgz>
- **问题跟踪器:** <https://github.com/ljharb/purl/issues>
- **发布时间:** 2026-01-14T18:36:44.710Z
- **最后更新:** 2026-06-18T18:45:46.470Z
- **已生成:** 2026-07-09T07:20:21+00:00

## 可执行文件

- purl (cli)
- purl (别名)

## 依赖

- npm-package-arg
- pargs

## 构建依赖

- @arethetypeswrong/cli
- @ljharb/eslint-config
- @ljharb/tsconfig
- @types/node
- @types/npm-package-arg
- @types/tape
- auto-changelog
- c8
- eslint
- in-publish
- npmignore
- safe-publish-latest
- tape
- typescript

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepublish
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-09
- 管理器版本: 2.1.0
- 管理器更新时间: 2026-06-18
- 本地数据: OK
- 上游仓库: https://github.com/ljharb/purl
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 purl 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.1.0
- **Version Count:** 7
- **Maintainers:** ljharb
- **Author:** Jordan Harband
- **Publisher:** ljharb
- **Engines:** Node: ^22.21 || ^24.11 || >= 25.2
- **Integrity:** sha512-VaLTxYl+NHMlwANo0uYlH4aDsnzdWfC9Yf7u4jTew7rDLb4DDyIHBkXo+fuXUS5cN6AlqAokTw91p4i9ofHk/Q==
- **Shasum:** 53708f6287ea185943b413839870f742722f42d3
- **Unpacked Size:** 102,829
- **File Count:** 0
- **Created At:** 2012-04-12T07:10:33.668Z
- **Latest Published At:** 2026-01-14T18:36:44.710Z
- **Modified At:** 2026-01-14T18:36:44.820Z

## 其他软件包管理器记录

- Debian apt - python3-purl - 1.6-1: normalized package name match | Debian stable package indexes: python3-purl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | URL interrogation and manipulation (Python3 version) | https://codeinthehole.com/writing/purl-immutable-url-objects-for-python/
- Ubuntu apt - python3-purl - 1.6-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-purl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | URL interrogation and manipulation (Python3 version) | https://codeinthehole.com/writing/purl-immutable-url-objects-for-python/
- MacPorts - purl: normalized package name match | MacPorts ports tree: finance/purl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [package-changed](https://www.automicvault.com/zh-hans/pkg/npm/package-changed/) - Local package facts share a topical domain. Shared terms: cli, data, data-processing, npm, processing.
- [parse-github-url](https://www.automicvault.com/zh-hans/pkg/npm/parse-github-url/) - Local package facts share a topical domain. Shared terms: cli, data, data-processing, processing, url.
- [plantuml-parser](https://www.automicvault.com/zh-hans/pkg/npm/plantuml-parser/) - Local package facts share a topical domain. Shared terms: cli, data, data-processing, parser, processing.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
