Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
google-news-rss-to-js
Advanced tools
An RSS scraper for Google News.
npm i google-news-rss-to-js --save
const googleNews = require('google-news-rss-to-js');
// Get top stories from the Google News homepage
const topStories = await googleNews.search();
// Get top stories by country & language
const topStoriesCN = await googleNews.search({ cc: 'CN', lc: 'zh' });
// You can also search by country name and/or language
const topStoriesCA = await googleNews.search({ country: 'Canada' });
// Search by keywords
const marthaStewartStories = await googleNews.search({ q: 'Martha Stewart' });
const googleNews = require('google-news-rss-to-js');
// Get available topics
const topics = await googleNews.getTopics();
// Get stories by topic
const entertainmentStories = await googleNews.searchByTopic({ topic: 'entertainment' });
// If you happen to know the Google News topic Id, you can provide that
const businessStories = await googleNews.searchByTopic({
topicId: 'CAAqJggKIiBDQkFTRWdvSUwyMHZNRGx6TVdZU0FtVnVHZ0pWVXlnQVAB',
});
// As with regular search, you area also able to search by country and language
const businessCanada = await googleNews.search({
topic: 'business',
country: 'Canada',
lc: 'en',
});
FAQs
An RSS scraper for Google News
The npm package google-news-rss-to-js receives a total of 20 weekly downloads. As such, google-news-rss-to-js popularity was classified as not popular.
We found that google-news-rss-to-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.