lk-geimfari / mimety

Mimety is a tiny library for Elixir that help you handle mime types.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Mimety is a tiny library for Elixir that help you handle mime types.

License:MIT License


Languages

Language:Elixir 99.8%Language:Makefile 0.2%