forked fromelixir-plug/mime
- Notifications
You must be signed in to change notification settings - Fork0
A read-only and immutable MIME type module for Elixir
License
NotificationsYou must be signed in to change notification settings
opallabs/mime
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A read-only and immutable MIME type module for Elixir.
This library embeds a database of MIME types so we can map MIME typesto extensions and vice-versa. The library was designed to be read-onlyfor performance. This library is used by projects like Plug and Phoenix.
Master currently points to a redesign of this library with a minimal copyof the MIME database. To add anymedia type specified byIANA,please submit a pull request. You can also add specific types to yourapplication via a compile-time configuration, seethe documentation formore information.
The package can be installed as:
defdepsdo[{:mime,"~> 2.0"}]end
MIME source code is released under Apache License 2.0.
Check LICENSE file for more information.