If any news items in the RSS feeds are less than alertOnLessThan (hours/days/..) old,
exit with a non-zero value ... leading to a red Travis-CI badge.
'FAILURE' === 'Has news alert(s)'npm install
npm test
npm run has-news-alert{
"x-hasNewsAlertConfig": {
"alertOnLessThan": "3 days",
"runOnTravisCI": true,
"feedUrls": [
"http://www.open.ac.uk/blogs/CALRG/?feed=rss2",
"http://www.headstar.com/eablive/?feed=rss2",
"https://nick.freear.org.uk/feed.xml"
]
}
}License: MIT.