README
wtrans
A CLI tool to translate text via web translation service.
Requirements
- Node.js v10.18.1+
- This is required by Puppeteer
Installation
Install it using npm:
$ npm install -g wtrans
Synopsis
First of all, you must write and put a config file. See wtrans.yaml manual for detail.
# Translates argument text
$ wtrans Hello
こんにちは
# Translates stdin text
$ echo Hello | wtrans
こんにちは
# Detects input text language by its whether multibyte character or not
$ wtrans こんにちは
Hello
See also:
License
Author
thinca thinca+npm@gmail.com