fanyi
A command-line/npm module to translate chinese using fy.iciba.com
Installation
sudo npm install cmdfy -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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request