Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 931 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 931 Bytes

Build Status

Mimety is a tiny library for Elixir that help you handle mime types. Complete list of mime types defined here.

Usage

iex> Mimety.extension("cpp")
"text/x-c"

iex(1)> Mimety.mime_to_extension("text/x-c")
["c", "cc", "cxx", "cpp", "h", "hh", "dic"]

Installation

Package can be installed by adding mimety to your list of dependencies in mix.exs:

def deps do
  [{:mimety, "~> 0.1.0"}]
end

License

Mimety is licensed under the MIT License. See LICENSE for more information.