element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
marceau · v1.3.0

marceau

Package Version Hex Docs

A MIME types library for Gleam.

gleam add marceau
import 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.

Search Document