175 packages found
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Media Type Database
Database to mime-format based on content-type header and content
Compressible Content-Type / mime checking
sniff the start of a stream (non-destructively) to detect the file type and encoding
Get mimetype from base64-encoded images
Gets the Content Type for a URL
Class for parsing, stringifying and manipulating media types. Useful for content negotiation. Follows RFC2045, supports quoted parameters, all allowed characters etc.
MIME Type parser
Detect the image type of a Buffer/Uint8Array
An async libmagic binding for node.js for detecting content types by data inspection
Gets the Response Headers for a URL
The file type is detected by checking the magic number of the buffer.
Detect the archive type of a Buffer/Uint8Array
Get the mime type of a stream
Split a 'Content-Type: multipart/mixed' email into parsed headers and body parts.
Lookups correct MIME content-type for specified path and return it as a string