webviewer-downloader

1.0.0 • Public • Published

webviewer-downloader

NPM package to download the latest version of WebViewer.

This script downloads the zipfile from https://www.pdftron.com/downloads/WebViewer.zip and extracts it + cleans up unused files. It also contains a script that gets + writes a users license key.

Testing

Run node index.js --baseLocation . to install deps in the cwd.

Using

npx @pdftron/webviewer-downloader

Params

--baseLocation - The root location of the project. Defaults to ../../. --licenseLocation - The folder you want to install the license key, relative to baseLocation. Defaults to ./public. --webviewerLocation - The folder you want to install WebViewer, relative to baseLocation. Defaults to ./public/lib.

Publishing

  1. Update version number

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i webviewer-downloader

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

5.86 kB

Total Files

5

Last publish

Collaborators

  • pdftron-dev