translation1

0.0.7 • Public • Published

translation1

Easy translations with using yandex api. Just enter the language you want to translate the text into. The source language is automatically determined.

USAGE

var translate = require('translation1');
var text = 'hey guys, whats up?';
var to = 'ru';
translate(text, to).then(function(translation) {
    console.log(translation);
});
 
//languages
//['az', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'fi', 'fr', 'hr', 'hu', 'hy', 'it', 'lt', 'lv', 'mk', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'tr', 'uk']

Readme

Keywords

Package Sidebar

Install

npm i translation1

Weekly Downloads

0

Version

0.0.7

License

ISC

Unpacked Size

3.75 kB

Total Files

7

Last publish

Collaborators

  • ms-dosx86