lpdf
v1.0.1
Published
LPDF is a simple, lightweight PDF reader UI suitable for tablet use.
Downloads
11
Maintainers
Readme
LPDF
LPDF is a simple, lightweight PDF reader UI suitable for tablet use.
Install
npm install lpdf
Usage
Local dependencies
To work, LPDF uses PDF.js. You can initialize it on your head.
<script src="pdfjs/build/pdf.js"></script>
pdfjsLib.GlobalWorkerOptions.workerSrc = 'pdfjs/build/pdf.js';
If pdf.js is not initialized, LPDF will do so via JsDelivr
Import
import the module
import LPDF from './node_modules/lpdf/index.js'