Skip to content

🎼 Benetnasch a mimetypes library for Gleam (A statically typed language for the Erlang VM)

License

Notifications You must be signed in to change notification settings

davecaos/benetnasch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎼 Mime de Benetnasch Eta

Mimetypes library for Gleam (A statically typed language for the Erlang VM)

This library is a port of @benoitc's https://github.com/benoitc/mimerl

tumblr_nksjt6OcmH1s6cql7o1_500

Minimal example

import benetnasch

    let mimetype = benetnasch.extension_to_mimetype("123")

    let extensions  = benetnasch.mimetype_to_extentions("application/vnd.lotus-1-2-3")

Quick start

# Run the tests
gleam test

# Run gleam REPL
gleam shell

About

🎼 Benetnasch a mimetypes library for Gleam (A statically typed language for the Erlang VM)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages