1.0.8 • Published 6 years ago

@tsq/translator v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

CLI-Translator

Supported by BAIDU, YOUDAO and GOOGLE's translation api.

Install

sudo npm i -g @tsq/translator

Usages

Usage: t [options]

Options:
  -v, --version                       output the version number
  -l, --login                         open login page
  -m, --mother                        set mother tongue
  -c, --code                          lookup lang codes
  -o, --ocr [value]                   translate image to text
  -s, --specify [value of lang code]  specify target languages
  -h, --help                          output usage information

Usage:
  1. do login:                t -l
  2. set mother tongue:       t -m
  3. translate a word:        t hello
  4. translate a sentence:    t "how are you"
  5. specify translation:     t -s zh hello
  6. lookup langs code:       t -c
  7. image to text:           t -o demo.png

mongodb

https://www.howtoforge.com/tutorial/install-mongodb-on-ubuntu/