cat-bookmarker/deps/mime/README.md

1.0 KiB

MIME

CI

A read-only and immutable MIME type module for Elixir.

This library embeds a database of MIME types so we can map MIME types to extensions and vice-versa. The library was designed to be read-only for performance. This library is used by projects like Plug and Phoenix.

Master currently points to a redesign of this library with a minimal copy of the MIME database. To add any media type specified by IANA, please submit a pull request. You can also add specific types to your application via a compile-time configuration, see the documentation for more information.

Installation

The package can be installed as:

def deps do
  [{:mime, "~> 2.0"}]
end

License

MIME source code is released under Apache License 2.0.

Check LICENSE file for more information.