@adobe/pdfservices-node-sdk

中文文档
4.1.0发布于 2024/11/05http://adobe.com/go/termsTypeScriptCommonJS近 30 天下载 18.7万

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

原始使用文档

PDF Services Node.js SDK

Adobe PDF Services SDK allows you to access RESTful APIs to create, convert, and manipulate PDFs within your applications. Adobe PDF Services API provides access to over 15 different services including:

  • Document Generation: Build PDF and Word documents from Word templates and your own data
  • Tag PDF files to make them more accessible.
  • Electronically seal PDF documents for authenticity and origin
  • Create PDF from HTML files, Microsoft Office docs (DOC, DOCX, XLS, SLX, PPT, PPTX), text files and images
  • Convert PDF to DOC/DOCX, XLS, PPTX, RTF, PNG, and JPEG formats
  • OCR PDF files to make the text editable and searchable
  • Compress and linearize PDF files to reduce file size for better performance
  • Password protect PDF files and secure them to restrict printing, editing, and copying content
  • Combine and split PDF files
  • Insert, replace, delete, rotate, and reorder pages in PDF files
  • Extract text, images, tables, and more from native and scanned PDFs into a structured JSON file
  • Get the properties of a PDF file like page count, PDF version, file size, compliance levels, font info, permissions and more

Get started for free now. For more details, please see our usage limits and licensing page. If you are interested in scaling your operations, please see our pricing page for purchase options and volume discounts.

Learn more at our documentation.

Installation

Before using this package, install Node.js. Node.js 18.0 or higher is required.

npm install --save @adobe/pdfservices-node-sdk

Resources

版本与发布记录

@adobe/pdfservices-node-sdk 共发布 18 个版本,首次发布于 2021/06/07;过去 12 个月发布了 0 个版本。

版本发布日期距今
4.1.0latest2024/11/052 年前
4.0.12024/06/122 年前
4.0.02024/04/092 年前
3.4.22023/08/013 年前
3.4.12023/07/113 年前
3.4.02023/06/213 年前

其他发布通道:beta → 2.3.0-beta.1。

关于 @adobe/pdfservices-node-sdk 的常见问题

@adobe/pdfservices-node-sdk 是什么?

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

如何安装 @adobe/pdfservices-node-sdk?

在项目目录运行 npm install @adobe/pdfservices-node-sdk,或使用 pnpm add / yarn add / bun add。

@adobe/pdfservices-node-sdk 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@adobe/pdfservices-node-sdk 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@adobe/pdfservices-node-sdk 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >= 10.13.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@adobe/pdfservices-node-sdk 可以商用吗?

@adobe/pdfservices-node-sdk 使用 http://adobe.com/go/terms 许可。声明的许可为 http://adobe.com/go/terms,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@adobe/pdfservices-node-sdk 的下载量有多少?

根据 npm 官方下载统计,@adobe/pdfservices-node-sdk 在 2026/10/05 – 2026/11/03 这 30 天内被下载 187,007 次,日均约 6,234 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@adobe/pdfservices-node-sdk 还在维护吗?

最新版本 4.1.0 发布于 2024/11/05(2 年前);至今共发布 18 个版本,其中过去 12 个月发布了 0 个;首次发布于 2021/06/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。