Socket
Socket
Sign inDemoInstall

yandex.translate

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yandex.translate

Yandex.Translate API for node.js


Version published
Weekly downloads
8
decreased by-33.33%
Maintainers
1
Install size
6.17 kB
Created
Weekly downloads
 

Readme

Source

Yandex.Translate

Yandex.Translate API for node.js

Installation

npm install yandex.translate

Usage

var YandexTranslator = require('yandex.translate');

var translator = new YandexTranslator(YOUR_API_KEY);

var translator.translate('hello', 'ru').then(console.log); // привет
var translator.detect('hello').then(console.log); // en

CLI Usage

$ yandex-translate hello
привет

$ yandex-translate hello fr
bonjour

$ yandex-translate hello | say # It's talking!

License

MIT

FAQs

Last updated on 27 Jun 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