file-type
Detect the file type of a file, stream, or data
sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images
pngjs
PNG encoder/decoder in pure JS, supporting any bit size & interlace, async & sync with full test suite.
@pdf-lib/upng
Small, fast and advanced PNG / APNG encoder and decoder