
Security News
gem.coop Tests Dependency Cooldowns as Package Ecosystems Move to Slow Down Attacks
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.
stack-overflow-rss
Advanced tools
npm install stack-overflow-rss
var stackOverflowRss = require('stack-overflow-rss');
// get the latest javascript questions
var consumer = stackOverflowRss({ tag: 'javascript'});
consumer.on('update', function(questions) {
console.dir(questions);
});
consumer.update();
// poll the most voted json and node.js questions feed
var anotherConsumer = stackOverflowRss({ tags: ['json', 'node.js'], sort: 'votes'});
anotherConsumer.on('new', function(newQuestions) {
console.dir(newQuestions);
});
Requiring 'stack-overflow-rss' returns a function used to consume question feeds. The following options are allowed:
tag or tags - The question tags.sort - Default is 'newest'. Can also be 'unanswered', 'active', 'votes' or 'faq'.pollInterval - Default is 1000 * 60 * 2 (2 minutes).lazy - Defer polling until the first subscription to 'new'. Default is true. You can use consumer.update()to trigger a single update.Upon registering, an EventEmitter is returned. The events to mind are:
'update' - triggered every time the questions are fetched.'new'- triggered only when new questions exist. At leat two updates must be done to trigger this event.MIT
FAQs
Stack Overflow questions feed consumer.
The npm package stack-overflow-rss receives a total of 1 weekly downloads. As such, stack-overflow-rss popularity was classified as not popular.
We found that stack-overflow-rss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.