Packages

Provides functions to identify a given file's MIME-type using file signatures and extensions.

Current section

Files

Jump to
mr_mime README.md
Raw

README.md

# MrMIME

[![Hex.pm](https://img.shields.io/hexpm/v/mr_mime.svg)](https://hex.pm/packages/mr_mime) 
[![Documentation](https://img.shields.io/badge/documentation-gray)](https://hexdocs.pm/mr_mime)

Zero-dependency signature-based file identifier (when possible!)


## Installation

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

```elixir
def deps do
  [
    {:mr_mime, "~> 0.1.0"}
  ]
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 <https://hexdocs.pm/mr_mime>.