magic-mime
Map filenames to common MIME types
This library contains a database of MIME types that maps filename extensions into MIME types suitable for use in many Internet protocols such as HTTP or e-mail. It is generated from the mime.types file found in Unix systems, but has no dependency on a filesystem since it includes the contents of the database as an ML datastructure.
homepage ↗ github: mirage/ocaml-magic-mime
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| nest GitHub ↗ | 1.3.1 | 2 | 14 d | details › |
Versions & arches
Use flags of 1.3.1
- +ocamlopt Enable ocamlopt support (ocaml native code compiler) -- Produces faster programs (Warning: you have to disable/enable it at a global scale)