nutrient-nodejs-server-sdk
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNutrient Node.js SDK
Nutrient Node.js SDK
Server-side Node.js library for in-process PDF generation. Primary use case is converting Office documents (Word, Excel, PowerPoint) and images into PDF without external service dependencies. Distinct from the browser Nutrient Web SDK.
用于进程内PDF生成的服务端Node.js库。主要用途是在不依赖外部服务的情况下,将Office文档(Word、Excel、PowerPoint)和图片转换为PDF。与浏览器端的Nutrient Web SDK不同。
Documentation
文档
Single-fetch LLM-curated dumps — prefer these over the human-shaped docs site for API/guide look-ups:
- Guides: https://www.nutrient.io/guides/nodejs/llms.txt
- Cross-product index (other Nutrient SDKs): https://www.nutrient.io/llms.txt
单次获取由LLM整理的文档快照——查询API或指南时,优先使用这些资源而非人工维护的文档站点:
- 指南:https://www.nutrient.io/guides/nodejs/llms.txt
- 跨产品索引(其他Nutrient SDK):https://www.nutrient.io/llms.txt
Key Concepts
核心概念
- Package: . The legacy
npm install @nutrient-sdk/nodeserver-side npm package and the PSPDFKit Server for Node.js are deprecated; new projects usepspdfkit.@nutrient-sdk/node - In-process vs REST: this SDK runs operations locally — no network, no quota. The hosted REST alternative is the Nutrient DWS Processor API (covered by a separate plugin).
- vs other in-process languages: see ,
nutrient-python-sdk,nutrient-java-server-sdkfor the same in-process capability in those runtimes.nutrient-dotnet-server-sdk - vs Nutrient Web SDK: the Web SDK () is a browser library for viewing/annotating PDFs; this Node.js SDK is a server-side generator/converter. Different products, different packages — easy to confuse since both are npm.
@nutrient-sdk/viewer
- 包:。旧版
npm install @nutrient-sdk/node服务端npm包及Node.js版PSPDFKit Server已废弃;新项目请使用pspdfkit。@nutrient-sdk/node - 进程内vs REST:本SDK在本地运行操作——无需网络,无配额限制。托管式REST替代方案为Nutrient DWS Processor API(由单独插件覆盖)。
- 与其他进程内语言版本对比:如需在其他运行时实现相同的进程内功能,请查看、
nutrient-python-sdk、nutrient-java-server-sdk。nutrient-dotnet-server-sdk - 与Nutrient Web SDK对比:Web SDK()是用于查看/批注PDF的浏览器库;本Node.js SDK是服务端生成/转换工具。二者是不同产品、不同包——因均为npm包,容易混淆。
@nutrient-sdk/viewer