0.1.10 • Published 3 years ago

node-shell-translator v0.1.10

Weekly downloads
39
License
MIT
Repository
-
Last release
3 years ago

Node Shell Translator

NPM Version

  • Node Shell Translator is a cli translation tool.
  • Based on Nodejs and youdao api server.
  • Using chalk to coloring command log.
❯ fy hello

hello
英 [həˈləʊ] 美 [həˈləʊ]

int. 喂;哈罗,你好,您好(表示问候, 惊奇或唤起注意时的用语)
n. (Hello)(法)埃洛(人名)
[ 复数 hellos 第三人称单数 helloes 现在分词 helloing 过去式 helloed 过去分词 helloed ]

网络释义
Hello 你好 ; 您好 ; 哈啰 ; 喂

短语
Hello Kitty 凯蒂猫 ; 吉蒂猫
Hello Neighbor 你好邻居

web dict (​https://www.youdao.com/w/en/hello​)
初中 高中 CET4 CET6 考研

Installation

yarn global add node-shell-translator

Usage

fy -t <type> [words]
  • type: Origin language and target language connecting with 2 (en2zh-CHS),default is auto if user didn't pass -t option
  • Available languages
  • words: Words you want to translate, sentence supported.

Options

ArgsRequired
wordstrue
typefalse

Available languages

typemeans
zh2enChinese to English
zh2jaChinese to Japanese
zh2koChinese to Korean
zh2frChinese to French
zh2esChinese to Spanish
zh2itChinese to Italian
zh2ruChinese to Russian
en2zhEnglish to Chinese
ja2zhJapanese to Chinese
ko2zhKorean to Chinese
fr2zhFrench to Chinese
es2zhSpanish to Chinese
it2zhItalian to Chinese
ru2zhRussian to Chinese
0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.0.11

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago