Tripe
Translate text through Google Translate.
google-translate-api
Improvements over - Supports browsers.
- Automatically autocorrect text.
- Simpler interface.
- Actively maintained.
Install
npm install tripe
Usage
const tripe = ; async { await //=> 'Bonjour!'}
API
tripe(text, from, to)
tripe(text, to)
text
Type: string
The text to translate.
from
Type: string
The initial language.
to
Type: string
The target language.