Socket
Socket
Sign inDemoInstall

cn-translator-cli

Package Overview
Dependencies
4
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cn-translator-cli

Translator for Chinese command-line interfaces.


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
743 kB
Created
Weekly downloads
 

Readme

Source

cn-translator-cli

Translator for Chinese command-line interfaces

v0.1.2 status

Inspired by <axetroy/translate-cli>

Installation

npm install -g cn-translator-cli

Usage

tfc is short for Translator for Chinese

$ tfc -h

  Usage: tfc [options] [contents...]

  translator for Chinese

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -f, --from <lang>          From Language, short locale name(e.g. en, zh)
    -t, --to <lang>            To Language, short locale name(e.g. zh, en)
    -p, --platform <platform>  Translation platform(e.g. baidu, youdao, google

Example

$ tfc 你好世界
# >>> Hello world

$ tfc 'Hello world'
# >>> 你好世界

License

The MIT License

Keywords

FAQs

Last updated on 13 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc