@pspdfkit/nodejs
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

PSPDFKit for Node.js Beta

Document and Image Conversion

PSPDFKit for Node.js Beta is a Node.js PDF library for converting Word, Excel, PowerPoint, and image files without MS Office or third-party open source dependencies. It offers developers the ability to quickly add PDF functionality to any Node.js application.

  • JavaScript — Simple, easy to use, and highly customizable
  • MS Office and PDF — Office conversion engine built from the ground up
  • TIFF, PNG, and JPEG — Directly render or convert images without any plugins

Getting Started

  1. Install from npm:
npm install @pspdfkit/nodejs
  1. Import the load function:
import { load } from '@pspdfkit/nodejs'
  1. Load a document and convert it to PDF:
const file = fs.readFileSync('./sample.docx');
const instance = await load({ document: file })
const buffer = await instance.exportPDF()
instance.close()

File Type Support

PSPDFKit for Node.js Beta enables you to load, save, convert, and edit 15 different PDF, document, Office, and image file types.

  • PDF
  • DOCX, DOC, DOTX, DOCM, XLSX, XLS, XLSM, PPTX, PPT, PPTM
  • PNG, JPEG, JPG, TIFF, TIF

Documentation

PSPDFKit offers comprehensive guides to help you quickly integrate and customize your application. It comes with full technical support that includes direct access to the engineers who built the product. Whether you have questions getting started or you want to know how to best integrate new features into your app, we’re here to help you find a solution.

Most popular guides:

Changelog

For a detailed list of the changes included in each version, please see the changelog.

License and Support

PSPDFKit is a commercial product that offers a free trial license to evaluate and integrate it into your product. Visit our pricing page to learn more about licensing our solution.

Package Sidebar

Install

npm i @pspdfkit/nodejs

Weekly Downloads

697

Version

0.0.7

License

SEE LICENSE IN https://www.nutrient.io/legal/Nutrient_SDK_User_Evaluation_Subscription_Agreement

Unpacked Size

143 MB

Total Files

343

Last publish

Collaborators

  • zrzka
  • pspdfkit-ci
  • pspdfkit-mwoschank
  • mbukov