Sawarineko

Gem Version Build Status Dependency Status Code Climate Coverage Status Inline docs sawarineko API Documentation

ななめななじゅうななどのならびでなくなくいななくななはんななだいなんなくならべてながながめ

Get your Nya!

Installation

gem install sawarineko

Or add this line to your application's Gemfile:

gem 'sawarineko'

Usage

Just get your Nya with Sawarineko:

Sawarineko.nya('ばなな')
# => "ばにゃにゃ"

Sawarineko.nya('バナナ')
# => "バニャニャ"

Sawarineko.nya('바나나')
# => "바냐냐"

Run sawarineko with no arguments to pass texts through terminal input.

sawarineko

Or pass sawarineko a file to convert like sawarineko README.md | head -3:

sawarineko something.txt

For additional command-line options:

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.

License

Copyright (c) ChaYoung You. See LICENSE.txt for further details.