Skip to content

Instantly share code, notes, and snippets.

View WebKieth's full-sized avatar
:octocat:
Open source in progress

BeJoy WebKieth

:octocat:
Open source in progress
  • null
  • Sevastopol
View GitHub Profile
@WebKieth
WebKieth / YaCloudTranslateV2.js
Created January 2, 2023 15:53
Using AI version of yandex translate with Node.js
const axios = require('axios')
const util = require('node:util');
const exec = util.promisify(require('node:child_process').exec);
/**
type IArticle = {
title: String,
text: String[],
url: String
}
texts: IArticle[] - array of articles to translate