0.0.2 • Published 12 years ago
google-translate-tool v0.0.2
google-translate-tool

早上醒來沒事,寫個打發時間專案,順便向大神致敬 XD
Install
$ npm install -g google-translate-toolUsage
$ google-translate --from=en --to=zh-TW Hello WorldOutput JSON format
$ google-translate --to=zh-TW --json --perty helloTips
We can create bash alias to make our command meaningful.
Something like this
alias to-chinese='google-translate --to=zh-TW'And then we can use to-chinese to translate any language to chinese traditional.
$ to-chinese helloLicense
MIT.