Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kostya/idn
LibIdn crystal binding.
https://github.com/kostya/idn
Last synced: 20 days ago
JSON representation
LibIdn crystal binding.
- Host: GitHub
- URL: https://github.com/kostya/idn
- Owner: kostya
- License: mit
- Created: 2015-11-08T00:37:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-08T00:37:25.000Z (about 9 years ago)
- Last Synced: 2023-03-11T22:52:33.683Z (over 1 year ago)
- Language: Crystal
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Idn
LibIdn crystal binding.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
idn:
github: kostya/idn
```## Usage
```crystal
require "idn"p Idn.to_ascii "топ-site.рф"
# "xn---site-iyehw.xn--p1ai"p Idn.to_unicode "xn---site-iyehw.xn--p1ai"
# "топ-site.рф"
```