{"id":24152342,"url":"https://github.com/nfreear/has-news-alert","last_synced_at":"2026-05-16T11:03:25.255Z","repository":{"id":140859967,"uuid":"137890925","full_name":"nfreear/has-news-alert","owner":"nfreear","description":"If any RSS feed items are less than `alertOnLessThan` old, then 'FAIL'.","archived":false,"fork":false,"pushed_at":"2018-06-19T15:28:14.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T18:42:39.351Z","etag":null,"topics":["datejs","nodejs","request-promise","rss-parser","timeago-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nfreear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-19T12:51:17.000Z","updated_at":"2018-06-19T15:28:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0a5eb2c-e2f9-4716-b1ed-c7aa51950189","html_url":"https://github.com/nfreear/has-news-alert","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nfreear/has-news-alert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fhas-news-alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fhas-news-alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fhas-news-alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fhas-news-alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfreear","download_url":"https://codeload.github.com/nfreear/has-news-alert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fhas-news-alert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datejs","nodejs","request-promise","rss-parser","timeago-js"],"created_at":"2025-01-12T10:15:45.137Z","updated_at":"2026-05-16T11:03:25.236Z","avatar_url":"https://github.com/nfreear.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![HitCount](http://hits.dwyl.io/nfreear/gaad-widget.svg)](http://hits.dwyl.io/nfreear/gaad-widget)\n\n[![Build Status][travis-icon]][travis]\n[![Has news alert?][img]][travis-log]\n\n# has-news-alert\n\nIf any news items in the RSS feeds are less than `alertOnLessThan` (hours/days/..) old,\nexit with a non-zero value ... leading to a `red` Travis-CI badge.\n\n```js\n    'FAILURE' === 'Has news alert(s)'\n```\n\n## Usage\n\n```sh\nnpm install\nnpm test\nnpm run has-news-alert\n```\n\n## [Configuration][]\n\n```json\n{\n  \"x-hasNewsAlertConfig\": {\n    \"alertOnLessThan\": \"3 days\",\n    \"runOnTravisCI\": true,\n    \"feedUrls\": [\n      \"http://www.open.ac.uk/blogs/CALRG/?feed=rss2\",\n      \"http://www.headstar.com/eablive/?feed=rss2\",\n      \"https://nick.freear.org.uk/feed.xml\"\n    ]\n  }\n}\n```\n\n---\nLicense: [MIT][].\n\n\n[MIT]: https://nfreear.mit-license.org/2018 \"© Nick Freear, 19-June-2019 | License: MIT.\"\n[configuration]: https://github.com/nfreear/has-news-alert/blob/master/package.json#L38-L46 \"package.json: x-hasNewsAlertConfig\"\n[travis]: https://travis-ci.org/nfreear/has-news-alert \"Travis-CI build status\"\n[travis-icon]: https://travis-ci.org/nfreear/has-news-alert.svg?branch=master\n[travis-log]: https://travis-ci.org/nfreear/has-news-alert#0-824 \"'FAILURE' === 'Has news alert(s)'\"\n[img]: https://img.shields.io/badge/dynamic/xml.svg?label=has-news-alert\u0026url=https%3A//api.travis-ci.org/repos/nfreear/has-news-alert.xml\u0026query=//Project/%40lastBuildStatus\u0026colorB=%23800080\n[days]: https://img.shields.io/badge/dynamic/json.svg?label=has-news-alert\u0026url=https://raw.githubusercontent.com/nfreear/has-news-alert/master/package.json\u0026query=$..alertOnLessThan\u0026_colorB=\n\n[End]: //.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfreear%2Fhas-news-alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfreear%2Fhas-news-alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfreear%2Fhas-news-alert/lists"}