Extra Credit

mrmime

A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename

$npm install mrmime

Official docs outline

Extra Credit builds an outline of mrmime's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484