Filea Get the mime type of a file. Install npm install filea Usage const filea = require("filea"); (async () => { await filea("image.png") //=> image/png})() API filea(filename) filea.sync(filename) filename Type: string The file to get the mime type for.