![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
hook.io-feedsub
Advanced tools
Readme
Will "subscribe" to a web RSS/Atom/JSON feed and emit any new items it reads from it. The events are in the form of
*::name::item
Where name
is the name of the feed. So if you are using the example config.json
that looks like this
{
"feeds": [
{
"name": "cnn",
"url": "http://rss.cnn.com/rss/cnn_latest.rss",
"interval": 10,
"emitOnStart": false
}
]
}
Programatically, this is how you would listen for new feed items..
hook.on('*::cnn:item', function(item) {
console.log('New Story!:', item.title);
});
hook.on('*::item', function(feed) {
console.log('New Story from: ', feed.name);
console.log(feed.item);
});
It uses feedsub to read feeds. Take a look at its constructor API for all the options that can be passed to it.
hookio-feedsub
npm -g install hook.io-feedsub
The single test is written with vows
npm test
MIT
FAQs
Emits hook.io events on new feed items.
The npm package hook.io-feedsub receives a total of 2 weekly downloads. As such, hook.io-feedsub popularity was classified as not popular.
We found that hook.io-feedsub 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.