A comprehensive library for mime-type mapping
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Media Type Database
Compressible Content-Type / mime checking
A simple static file server middleware
Predicate that returns true if base64 string.
A lean, modular web server for rapid full-stack development
Encode and decode quoted printable and base64 strings
High Quality JavasScript Libraries based on ES6+
Lookups correct MIME content-type for specified path and return it as a string
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
Mime database interface
Database to mime-format based on content-type header and content
Encode and decode base64 encoded strings
Convert a mime type to a file extension. It works only with popular mime types and its super lightweight.
Convert freedesktop mime info XML to a JSON dictionary.
Resolve fs.Stat to mimetype, ownername, groupname, and human-readable permissions.