file-type
Detect the file type of a file, stream, or data
pdfkit
A PDF generation library for Node.js
skia-canvas
A multi-threaded, GPU-accelerated, Canvas API for Node
pdf-parse
Pure TypeScript, cross-platform module for extracting text, images, and tabular data from PDFs. Run directly in your browser or in Node!