lpdf

1.0.1 • Public • Published

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'

Package Sidebar

Install

npm i lpdf

Weekly Downloads

4

Version

1.0.1

License

ISC

Unpacked Size

34.4 kB

Total Files

10

Last publish

Collaborators

  • olafr