Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pspdfkit/nodejs

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pspdfkit/nodejs

Convert documents in your Node.js apps.

  • 0.0.5
  • npm
  • Socket score

Version published
Weekly downloads
1.8K
decreased by-6.55%
Maintainers
2
Weekly downloads
 
Created
Source

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 and Deno — 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.

Keywords

FAQs

Package last updated on 15 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc