Importing pdfjs?
Hi, I’m trying to figure out how to use pdfjs with deno.
There seem to be several related packages on npmjs.com:
https://www.npmjs.com/package/pdfjs
https://www.npmjs.com/package/pdfjs-dist
https://www.npmjs.com/package/@bundled-es-modules/pdfjs-dist
But I haven't been able to get any of them to work with permutations like:
import * as pdfjsLib from 'npm:pdfjs-dist';
etc.
Any suggestions?
npm
pdfjs
A Portable Document Format (PDF) generation library targeting both the server- and client-side.. Latest version: 2.5.3, last published: a year ago. Start using pdfjs in your project by running
npm i pdfjs
. There are 52 other projects in the npm registry using pdfjs.npm
pdfjs-dist
Generic build of Mozilla's PDF.js library.. Latest version: 4.10.38, last published: a month ago. Start using pdfjs-dist in your project by running
npm i pdfjs-dist
. There are 1912 other projects in the npm registry using pdfjs-dist.npm
@bundled-es-modules/pdfjs-dist
mirror of pdfjs-dist, bundled and exposed as ES module. Latest version: 3.6.172-alpha.1, last published: 2 years ago. Start using @bundled-es-modules/pdfjs-dist in your project by running
npm i @bundled-es-modules/pdfjs-dist
. There are 14 other projects in the npm registry using @bundled-es-modules/pdfjs-dist.0 Replies