0.0.3 • Published 8 years ago

jianyi v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

jiǎn yì (简译)

jianyi is a simple translate tool from English to Chinese or reverse.

Installation

jianyi is a node module, just use npm to install it globally.

npm install -g jianyi

Before use it, you should init $HOME/.jianyi, register key and pass from youdao api.

> cat $HOME/.jianyi
{"keyfrom":"yourkey","key":"yourpass"}

Usage

eg. jianyi "hello world"

Set alias for short:

alias t='jianyi'
> t hello

[hə'ləʊ; he-]
你好
--------------------
n. 表示问候, 惊奇或唤起注意时的用语
int. 喂;哈罗
n. (Hello)人名;(法)埃洛


> t 你好

[nǐ hǎo]
How are you
--------------------
hello;hi
0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago