205 packages found
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Media Type Database
Compressible Content-Type / mime checking
Class for parsing, stringifying and manipulating media types. Useful for content negotiation. Follows RFC2045, supports quoted parameters, all allowed characters etc.
Database to mime-format based on content-type header and content
Detect the image type of a Buffer/Uint8Array
Detect the archive type of a Buffer/Uint8Array
sniff the start of a stream (non-destructively) to detect the file type and encoding
An async libmagic binding for node.js for detecting content types by data inspection
A helper for combating incorrect content-type, aka a mime sniffing module for node.js
Get the file extension and MIME type from a file
A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename
Node.js based tools package.
- base64 encode
- base64 decode
- url decode
- url encode
- is numeric
- View more
Get file information based on file signature
Express middleware for blocking unwanted Content-Type(s).
A Node.js module for downloading a single image or multiple images to disk from a given Url (checking if url exist and detecting image type)
is this a JSON-based media type (rfc6838)?
parse a data uri into mime type and buffer