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: about 2 hours 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T09:22:57.000Z (7 months ago)
- Last Synced: 2025-04-03T19:47:03.006Z (3 months ago)
- Topics: gleam, gleam-lang
- Language: Gleam
- Homepage:
- Size: 31.3 KB
- Stars: 8
- Watchers: 1
- 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

## 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
```