Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/betrybe/plug-mime-type-check
https://github.com/betrybe/plug-mime-type-check
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/betrybe/plug-mime-type-check
- Owner: betrybe
- License: other
- Created: 2022-05-10T19:34:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T20:08:55.000Z (over 2 years ago)
- Last Synced: 2024-11-18T21:06:01.659Z (about 1 month ago)
- Language: Elixir
- Size: 1.11 MB
- Stars: 2
- Watchers: 27
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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 .