# 使用 npm 安装 pdf2json

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

## 安装

```sh
sudo av install npm:pdf2json
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g pdf2json
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:pdf2json
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/pdf2json>
- **版本:** 4.0.3
- **来源摘要:** PDF file parser that converts PDF binaries to JSON and text, powered by porting a fork of PDF.JS to Node.js
- **主页:** <https://github.com/modesty/pdf2json>
- **仓库:** <https://github.com/modesty/pdf2json>
- **上游文档:** <https://github.com/modesty/pdf2json>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/pdf2json/-/pdf2json-4.0.3.tgz>
- **问题跟踪器:** <http://github.com/modesty/pdf2json/issues>
- **发布时间:** 2026-04-16T01:48:54.289Z
- **最后更新:** 2026-04-16T01:48:54.289Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- pdf2json (cli)

## 构建依赖

- @eslint/js
- @rollup/plugin-commonjs
- @rollup/plugin-eslint
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @rollup/plugin-terser
- @rollup/plugin-typescript
- @types/node
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint
- jest
- rollup
- tslib
- typescript

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.0.3
- 管理器更新时间: 2026-04-16
- 本地数据: OK
- 上游仓库: https://github.com/modesty/pdf2json
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.3
- **Version Count:** 116
- **Maintainers:** modesty
- **Author:** Modesty Zhang
- **Publisher:** modesty
- **Engines:** Node: >=20.18.0
- **Integrity:** sha512-QErPemxRHDI2RUli3+9/mv4V6Ib9VWI+UoP2S82yXEQtoXzWvu9NSjjo3vyiUiVJv+CJFuzNiKUI+UFFUdv8Lg==
- **Shasum:** ccb3c93d7864193d2b4e2ce9b9f763cb51922a53
- **Unpacked Size:** 8,203,596
- **File Count:** 0
- **Created At:** 2012-11-09T19:39:19.287Z
- **Latest Published At:** 2026-04-16T01:48:54.289Z
- **Modified At:** 2026-04-16T01:48:54.405Z

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

- MacPorts - pdf2json: normalized package name match | MacPorts ports tree: textproc/pdf2json/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.
- [pdf2json](https://www.automicvault.com/zh-hans/pkg/brew/pdf2json/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, json, pdf, pdf2json.
- [pdf-visual-diff](https://www.automicvault.com/zh-hans/pkg/npm/pdf-visual-diff/) - Both packages touch the same language runtime or ecosystem. Shared terms: canvas, cli, data, document, document-processing.
- [pdf-text-extract](https://www.automicvault.com/zh-hans/pkg/npm/pdf-text-extract/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, document, document-processing, pdf.
- [pdf2json](https://www.automicvault.com/zh-hans/pkg/brew/pdf2json/) - Same normalized package name exists in another local package ecosystem.

## 来源

- 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
