thinca / wtrans

A CLI tool to translate text via web translation service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wtrans

NPM Version Node.js Version Build Status Test Coverage

A CLI tool to translate text via web translation service.

Requirements

  • Node.js v10.18.1+

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

zlib License

Author

thinca thinca+npm@gmail.com

About

A CLI tool to translate text via web translation service.

License:zlib License


Languages

Language:JavaScript 98.5%Language:Makefile 1.5%