A library for that maps mime types to extensions and vice-versa.
The package can be installed as:
-
Add mime to your list of dependencies in
mix.exs
:def deps do [{:mime, "~> 1.0"}] end
-
Ensure mime is started before your application:
def application do [applications: [:mime]] end
MIME source code is released under Apache 2 License.
Check LICENSE file for more information.