mime-magic
Proper MIME type detection library that wraps the libmagic functionality
file-type
Detect the file type of a file, stream, or data
mime-format
Database to mime-format based on content-type header and content
mime-types
The ultimate javascript content-type utility.