Skip to content

MIME type constants for JavaScript developers

License

Notifications You must be signed in to change notification settings

markwhitaker/MimeTypes.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon

MimeTypes.js Build and test Publish to npm npm npm

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

icon RegexToolbox.js: Regular expression tools for JavaScript developers

MimeTypes for other languages

icon MimeTypes for .NET

icon MimeTypes for Java

icon MimeTypes for Kotlin