1.6.0 • Published 2 years ago

traduction v1.6.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Traduction

This module allows you to translate text into more than 103 different languages.

Translate a Languages

const { translate } = require('traduction');

(async () => {
  console.log(await translate('Comment vas-tu ?', 'fr', 'en'));
})();

Output :

How are you ?

NOTE : If you forget "await" before translate, the console will be return "Promise { }". So you don't forget "await".

Module explanation

(async () => {
  console.log(await translate('Salut', 'fr', 'en'));
})();

/**
 * @param { string } 'Salut'
 * @param { string } 'fr'
 * @param { string } 'en'
**/

Github

Jules010209 - Yokachi

1.6.0

2 years ago

1.1.0

2 years ago

1.5.5

2 years ago

1.5.0

2 years ago

1.0.0

2 years ago