whatwg-mimetype

Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard

cache-content-type

Create a full Content-Type header given a MIME type or extension and cache the result