pdfjs-embed-viewer
v1.0.75
Published
Pdfjs embed viewer
Downloads
16
Maintainers
Readme
PDFjs embed viewer
Embed PDF in NEXT JS pages.
Installation
Via npm:
$ npm install pdfjs-embed-viewer
Usage (for next.js)
import PDFEmbedViewer from 'pdfjs-embed-viewer';
<PDFEmbedViewer url='http://example.com/files/list.pdf' />
Or, through API (GET method)
<PDFEmbedViewer url='http://example.com/api/v1/download?id=123456789' />