UNPKG

afpp

Version:

Async Fast PDF Parser for Node.js — dependency-light, TypeScript-first, production-ready.

14 lines (13 loc) 443 B
import type { AfppParseOptions } from './core'; export interface PdfMetadata { title?: string; author?: string; subject?: string; creator?: string; producer?: string; creationDate?: Date; modificationDate?: Date; pageCount: number; isEncrypted: boolean; } export declare function getPdfMetadata(input: Buffer | string | Uint8Array | URL, options?: Pick<AfppParseOptions, 'password'>): Promise<PdfMetadata>;