Socket
Socket
Sign inDemoInstall

yandex-translate-api

Package Overview
Dependencies
19
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yandex-translate-api

Node module allowing to use the Yandex Translate API


Version published
Weekly downloads
21
decreased by-19.23%
Maintainers
1
Install size
1.15 MB
Created
Weekly downloads
 

Readme

Source

yandex-translate-api

Yandex.Translate API client for node.js

Please use API key request form to obtain key.

Install

npm install yandex-translate-api --save

Use the client

var translate = require('yandex-translate-api')(YOUR_API_KEY);
translate('I like fresh baked bread', { to: 'ru'}, function(err, res) {
  console.log(res.text);
});

translate.detect('J\'aime le pain frais', function(err, res) {
   console.log(res.lang)
});

License

MIT.

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

See also

Inspired by yandex-translate by @sidorares

Keywords

FAQs

Last updated on 26 Apr 2015

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