is-zip-file
Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension
Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension
Get the mimetype of a buffer based on its contents
An extension of `file-type` with additional supports for .doc, .xls, .ppt
javascript implementation of a "Uniform Type Identifier" (UTI)
Get file information based on file signature
A NPM package for getting basic file information like name, size, last modified and type.
Detect if image link contains .pdf
Checks if the file path is PDF file. It does not read the complete file nor it depends upon file extension
Checks if the file path is PSD file. It does not read the complete file nor it depends upon file extension
A lightweight NodeJS library for strict mime-type validation on streams
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
File authenticity type check
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
Detect the image type of Buffer/Uint8Array
A tool to detect content types with deep learning.
A library to determine the file type, MIME type, and media type of a given file.
Complete any missing media type for you