1.4.2 • Published 5 years ago

@pdftron/webviewer-downloader v1.4.2

Weekly downloads
1,095
License
ISC
Repository
-
Last release
5 years ago

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.

Testing

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

Using

npx @pdftron/webviewer-downloader {params}

Params

--path - The folder you want to install WebViewer, relative to your CWD. Defaults to ./public/lib.

--v - The version you want to download. If none is specified, it will download the latest version.

--core-only - Upon extraction, it will only leave out core folder (deletes UI).

--pdfjs - Downloads the PDFJs wrapper instead of WebViewer

Example

npx @pdftron/webviewer-downloader
1.4.2

5 years ago

1.3.3

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago