Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yandex-translate-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yandex-translate-api

Node module allowing to use the Yandex Translate API

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
84
increased by460%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 26 Apr 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc