fanyi

A command-line/npm module to translate chinese using fy.iciba.com

Installation

sudo npm install iciba_command_line -g

Usage

Command-line usage:

$ fy words to be translated
$ fy You will need to have root access to do this. -p #to get pinyin for chinese characters, (hopefully fy.iciba.com is correct)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request