• Stars
    star
    148
  • Rank 249,223 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This command line tool delivers text translation capabilities to your console and is powered by DeepL (https://www.deepl.com/translator)

deepl-translator-cli

Known Vulnerabilities npm version styled with prettier

This command line tool delivers text translation capabilities to your console, powered by DeepL (https://www.deepl.com/translator).

Install

$ yarn global add deepl-translator-cli

Usage examples

# Translate text into German
$ deepl translate -t 'DE' 'How do you do?'

# Pipe text from standard input
$ echo 'How do you do?' | deepl translate -t 'DE'

# Detect language
$ deepl detect 'Wie geht es Ihnen?'

# For help
$ deepl -h
$ deepl translate -h
$ deepl detect -h

License

MIT