Adding to Your Project
This guide will walk you through adding PSPDFKit for Electron to your Electron project.
Accessing license information — for evaluation
After requesting an evaluation license, follow the PSPDFKit for Electron trial link in the email you received. This will automatically fill in the license information in the following examples on this page.
Accessing license information — for existing customers
- In your web browser, log in to https://customers.pspdfkit.com and navigate to the Your Licenses & Keys page.
- Locate your PSPDFKit for Electron license and click Download PSPDFKit for Electron.
- Follow the instructions in the Install with npm section below.
Install with npm
PSPDFKit for Electron is installed as an npm package. This will add a
dependency with the name
pspdfkit to your application’s
Using the Latest Release:
yarn add pspdfkit
npm install --save pspdfkit
Pinning to a Specific Version (e.g. 2018.2.0):
yarn add firstname.lastname@example.org
npm install --save email@example.com
We’ve prepared a ready-to-use example project that will help you get started quickly.