validate-image-type
Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.
Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.
Utility function checking if string is mime type from allowed range
File extensions and media types, grouped by application and type. Useful when you need to process or restrict processing to certain types of files.
Check all the available MIME types of a extension
Guess the content type of a request body.
Get the mime type of a stream
Parse the `Content-Type` header.
Node.js based tools package.
Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.
A simple wrapper over file command available in Linux systems.
Detect mimetype from extension
Convert a file extension to a mime type. It works only with popular file extensions and it's super lightweight.
something about mime-type.
Library that provides localized description of mimetypes (based on shared-mime-info)
returns the mime-type, extension and the size of an uploaded file.
Generate and parse HTTP Content-Type header according to RFC 7231. This module can parse invalid mime type without breaking. You can obtain mime type and charset if available
simple way of extracting parameters from media types
Site that provides mimetype icons for hotlinking
Generate and parse HTTP Content-Type header according to RFC 7231. This module can parse invalid mime type without breaking. You can obtain mime type and charset if available
Processing and formatting for various mime types.