https://github.com/yous/sawarineko
Get your Nya!
https://github.com/yous/sawarineko
ruby
Last synced: 2 months ago
JSON representation
Get your Nya!
- Host: GitHub
- URL: https://github.com/yous/sawarineko
- Owner: yous
- License: mit
- Created: 2014-10-12T04:01:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-02T18:45:08.000Z (over 10 years ago)
- Last Synced: 2025-02-10T21:19:04.676Z (4 months ago)
- Topics: ruby
- Language: Ruby
- Homepage: http://rubygems.org/gems/sawarineko
- Size: 277 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Sawarineko
[](http://badge.fury.io/rb/sawarineko)
[](https://travis-ci.org/yous/sawarineko)
[](https://gemnasium.com/yous/sawarineko)
[](https://codeclimate.com/github/yous/sawarineko)
[](https://coveralls.io/r/yous/sawarineko?branch=master)
[](http://inch-ci.org/github/yous/sawarineko)
[](https://www.omniref.com/ruby/gems/sawarineko)> ななめななじゅうななどのならびでなくなくいななくななはんななだいなんなくならべてながながめ
Get your Nya!
## Installation
``` sh
gem install sawarineko
```Or add this line to your application's Gemfile:
``` ruby
gem 'sawarineko'
```## Usage
Just get your Nya with Sawarineko:
``` ruby
Sawarineko.nya('ばなな')
# => "ばにゃにゃ"Sawarineko.nya('バナナ')
# => "バニャニャ"Sawarineko.nya('바나나')
# => "바냐냐"
```Run `sawarineko` with no arguments to pass texts through terminal input.
``` sh
sawarineko
```Or pass `sawarineko` a file to convert like `sawarineko README.md | head -3`:
``` sh
sawarineko something.txt
```For additional command-line options:
``` sh
sawarineko -h
```Command flag | Description
--------------------------|-------------------------------
`-e, --encoding ENCODING` | Specify the encoding of input.
`-h, --help` | Print this message.
`-v, --version` | Print version.## Contributing
1. Fork it (https://github.com/yous/sawarineko/fork)
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## Changelog
See [CHANGELOG.md](CHANGELOG.md).
## License
Copyright (c) ChaYoung You. See [LICENSE.txt](LICENSE.txt) for further details.