simple_idn
Version, currently 0.23 versions
- 0.3latestApr 10, 2021
- 0.2not indexedApr 10, 2021
- 0.1not indexedApr 10, 2021
github.com/kostya/simple_idn
SimpleIdn for Crystal language. Translated from Ruby https://github.com/mmriis/simpleidn
8 stars
0 dependents
License: MIT
Nothing has been indexed for 0.2 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
simple_idn:
github: kostya/simple_idn
version: ~> 0.2Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# SimpleIdn
SimpleIdn for Crystal language. Translated from Ruby https://github.com/mmriis/simpleidn.
This shard allows easy conversion from punycode ACE strings to unicode UTF-8 strings and visa versa.
The implementation is heavily based on the RFC3492 C example implementation but simplified since it does not preserve case.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
simple_idn:
github: kostya/simple_idn
```
## Usage
```crystal
require "simple_idn"
puts SimpleIdn.to_unicode("xn--mllerriis-l8a.com")
# => møllerriis.com
puts SimpleIdn.to_ascii("møllerriis.com")
# => xn--mllerriis-l8a.com
```
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2- Tagged
- Apr 10, 2021
- Commit
330cea670240- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kostya/simple_idn
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 3