https://github.com/tkshnwesper/kana
Crystal library for kana conversions
https://github.com/tkshnwesper/kana
crystal-lang hiragana japanese katakana
Last synced: about 2 months ago
JSON representation
Crystal library for kana conversions
- Host: GitHub
- URL: https://github.com/tkshnwesper/kana
- Owner: tkshnwesper
- License: mit
- Created: 2022-09-12T09:38:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-12T09:39:19.000Z (about 3 years ago)
- Last Synced: 2025-02-05T21:26:59.681Z (10 months ago)
- Topics: crystal-lang, hiragana, japanese, katakana
- Language: Crystal
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kana
Toolkit for conversions between kana.
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
kana:
github: tkshnwesper/kana
```
2. Run `shards install`
## Usage
```crystal
require "kana"
Kana.to_katakana("えんぴつ") # エンピツ
Kana.to_hiragana("ワタシ") # わたし
```
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [tkshnwesper](https://github.com/tkshnwesper) - creator and maintainer