ext2type convert extension of the path to the http Content-Type format, like application/xml, application/json. Installation $ npm install ext2type API ext2type(name): just calling it LICENSE MIT