Socket
Socket
Sign inDemoInstall

yandex-translate

Package Overview
Dependencies
47
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yandex-translate

Yandex.Translate API client


Version published
Weekly downloads
807
increased by0.5%
Maintainers
1
Install size
3.79 MB
Created
Weekly downloads
 

Readme

Source

yandex-translate

Yandex.Translate API client for node.js

Please use API key request form to obtain key.

var translate = require('yandex-translate')(key);

translate.translate('You can burn my house, steal my car, drink my liquor from an old fruitjar.', { to: 'ru' }, function(err, res) {
  console.log(res.text);
});

translate.detect('Граждане Российской Федерации имеют право собираться мирно без оружия, проводить собрания, митинги и демонстрации, шествия и пикетирование', function(err, res) {
   // res.lang -> 'ru'
});

License

MIT.

Yandex.Translate terms of service: http://legal.yandex.com/translate_api/

See also

Keywords

FAQs

Last updated on 21 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc