file-type
Detect the file type of a file, stream, or data
pdf2pic
A utility for converting pdf to image formats. Supports different outputs: directly to file, base64 or buffer.
pdf-to-png-converter
Node.js utility to convert PDF file/buffer pages to PNG files/buffers with no native dependencies.
pdf-img-convert
A simple module to convert PDF files into image buffers (without filesystem usage)