Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/betrybe/plug-mime-type-check


https://github.com/betrybe/plug-mime-type-check

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# PlugMimeTypeCheck

A Plug that checks the mime type of a uploaded file trough API request

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `plug_mime_type_check` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:plug_mime_type_check, "~> 0.1.3"}
]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .