MimeTypes.js
A structured collection of MIME type constants to use in your JavaScript projects.
Installation
npm i mimetype-constants
Usage
Replace this sort of thing...
"application/json"
with this...
MimeTypes.Application.Json
Pull requests welcome!
Also for JavaScript developers
RegexToolbox.js: Regular expression tools for JavaScript developers