A MIME types library for Gleam.
gleam add marceauimport marceau
pub fn main() {
marceau.extension_to_mime_type("json")
// -> "application/json"
marceau.mime_type_to_extensions("application/json")
// -> ["json"]
}This library is based off of the mimerl Erlang library but ported to pure Gleam so it can be used on any target and platform.