README.md

# glidna

IDNA (RFC3490) and punycode (RFC3492) implementation for Gleam

[![Package Version](https://img.shields.io/hexpm/v/glidna)](https://hex.pm/packages/glidna)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/idna/)

```sh
gleam add glidna@1
```
```gleam
import glidna

pub fn main() -> Nil {
  glidna.to_ascii("www.münchen.com")
  // -> Ok("www.xn--mnchen-3ya.com")
}
```

Further documentation can be found at <https://hexdocs.pm/glidna>.

## Development

```sh
gleam run   # Run the project
gleam test  # Run the tests
```