mime

Media Type Database
https://github.com/benmerckx/mime

To install, run:

haxelib install mime 0.0.1 

See using Haxelib in Haxelib documentation for more information.

README.md

mime

Packages mime-db for haxelib

Mime.lookup('/path/to/file.txt');   // text/plain
Mime.lookup('file.txt');            // text/plain
Mime.lookup('.TXT');                // text/plain
Mime.lookup('htm');                 // text/html

Mime.extension('text/html');        // html
Mime.extension('application/pdf');  // pdf

Mime.db.get('text/html');           // {compressible => true, extensions => [html,htm,shtml], source => iana}				
Contributors
benmerckx
Version
0.0.1
Published
2 years ago
License
MIT

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github