Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Namespaces

CMapCompressionType
PermissionFlag

§Classes

AnnotationLayer
InvalidPDFException
LoopbackPort
MissingPDFException
PDFDataRangeTransport

Abstract class to support range requests file loading.

PDFDateString
PDFWorker

PDF.js web worker abstraction that controls the instantiation of PDF documents. Message handlers are used to pass information from the main thread to the worker thread and vice versa. If the creation of a web worker is not possible, a "fake" worker will be used instead.

PixelsPerInch
RenderingCancelledException
UnexpectedResponseException
Util
XfaLayer

§Variables

build
CMapCompressionType.BINARY
CMapCompressionType.NONE
CMapCompressionType.STREAM
GlobalWorkerOptions
PermissionFlag.ASSEMBLE
PermissionFlag.COPY
PermissionFlag.COPY_FOR_ACCESSIBILITY
PermissionFlag.FILL_INTERACTIVE_FORMS
PermissionFlag.MODIFY_ANNOTATIONS
PermissionFlag.MODIFY_CONTENTS
PermissionFlag.PRINT
PermissionFlag.PRINT_HIGH_QUALITY
SVGGraphics
version

§Functions

createPromiseCapability

Creates a promise capability object.

createValidAbsoluteUrl

Attempts to create a valid absolute URL.

getDocument

This is the main entry point for loading a PDF and interacting with it.

getFilenameFromUrl

Gets the filename from a given URL.

getPdfFilenameFromUrl

Returns the filename or guessed filename from the url (see issue 3455).

getXfaPageViewport

NOTE: This is (mostly) intended to support printing of XFA forms.

isPdfFile
loadScript
renderTextLayer
shadow

§Type Aliases

PageViewport
PDFDocumentLoadingTask
PDFDocumentProxy
PDFPageProxy
RenderTask