1.4.2 • Published 4 years ago

@pdftron/webviewer-downloader v1.4.2

Weekly downloads
1,095
License
ISC
Repository
-
Last release
4 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

4 years ago

1.3.3

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago