Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davecaos/benetnasch
🎼 Benetnasch a mimetypes library for Gleam (A statically typed language for the Erlang VM)
https://github.com/davecaos/benetnasch
gleam gleam-lang
Last synced: 9 days ago
JSON representation
🎼 Benetnasch a mimetypes library for Gleam (A statically typed language for the Erlang VM)
- Host: GitHub
- URL: https://github.com/davecaos/benetnasch
- Owner: davecaos
- License: apache-2.0
- Created: 2020-05-18T03:28:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T11:17:35.000Z (over 1 year ago)
- Last Synced: 2024-04-17T21:46:49.476Z (7 months ago)
- Topics: gleam, gleam-lang
- Language: Gleam
- Homepage:
- Size: 30.3 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :musical_score: 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/) https://github.com/benoitc/mimerl
![tumblr_nksjt6OcmH1s6cql7o1_500](https://user-images.githubusercontent.com/6124495/82167134-311ebf80-9891-11ea-97f5-56a630b497b5.gif)
## Minimal example
```rust
import benetnaschlet mimetype = benetnasch.extension_to_mimetype("123")
let extensions = benetnasch.mimetype_to_extentions("application/vnd.lotus-1-2-3")
```
## Quick start```sh
# Run the tests
gleam test# Run gleam REPL
gleam shell
```