LPDF is a simple, lightweight PDF reader UI suitable for tablet use.
npm install lpdf
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 the module
import LPDF from './node_modules/lpdf/index.js'