1.1.0 • Published 7 years ago

translana v1.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

translana

A translate CLI built to demo how Slana can be used to quickly build nice CLI programs in node.js.

Powered by Google Translate API.

Usage

$ npm i -g translana

Now you have google translate at your fingertips.

$ translana translate --text="How are you" --to=fr

You should see the following output:

Doing automatic input source language detection.

Translating:
How are you

Detected language: en

Translation:
Comment allez-vous

If you prefer to specify the input language as well, use --from=en.

$ translana translate --text="How are you" --to=fr --from=en

License

MIT