ES6 Interface for Yandex XML search
$ npm install yandex-xml
ya.search(options)
const YandexXML = require('yandex-xml');
const ya = new YandexXML('<USERNAME>', '<KEY>');
const res = await ya.search({ query: '<QUERY>' });
res.forEach((el, i, arr) => {
console.log(`${el.url} ${el.domain} ${el.title}`);
});
All options in the official documentation here.