Translate text through Google Translate.
- Supports browsers.
- Automatically autocorrect text.
- Simpler interface.
- Actively maintained.
npm install tripe
const tripe = require("tripe");
(async () => {
await tripe("Good morning", "fr")
//=> 'Bonjour!'
})()
Type: string
The text to translate.
Type: string
The initial language.
Type: string
The target language.