{"id":18862269,"url":"https://github.com/StellaraUmbrix/WeatherAlerts","last_synced_at":"2025-04-14T13:31:41.024Z","repository":{"id":63207298,"uuid":"562548459","full_name":"StellaraUmbrix/WeatherAlerts","owner":"StellaraUmbrix","description":"Grab weather alerts from countries around the world.","archived":false,"fork":false,"pushed_at":"2023-04-12T00:01:33.000Z","size":63,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T05:38:34.541Z","etag":null,"topics":["eas","hacktoberfest","node","npm-module","weather"],"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/StellaraUmbrix.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}},"created_at":"2022-11-06T17:35:17.000Z","updated_at":"2022-11-14T22:54:41.000Z","dependencies_parsed_at":"2024-01-06T17:41:38.502Z","dependency_job_id":"7635c21c-5784-4a85-955a-a2ffdbc13d2f","html_url":"https://github.com/StellaraUmbrix/WeatherAlerts","commit_stats":null,"previous_names":["thepandaparade/weatheralerts","whendawnends/weatheralerts","stellaraumbrix/weatheralerts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StellaraUmbrix%2FWeatherAlerts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StellaraUmbrix%2FWeatherAlerts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StellaraUmbrix%2FWeatherAlerts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StellaraUmbrix%2FWeatherAlerts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StellaraUmbrix","download_url":"https://codeload.github.com/StellaraUmbrix/WeatherAlerts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248888689,"owners_count":21178093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["eas","hacktoberfest","node","npm-module","weather"],"created_at":"2024-11-08T04:33:49.629Z","updated_at":"2025-04-14T13:31:40.629Z","avatar_url":"https://github.com/StellaraUmbrix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather Alerts Library\n\n## A library written in TypeScript for recieving weather alerts from countries around the world.\n\n### Currently supported countries\n\n- [x] United Kingdom (Met Office)\n- [x] United States (National Weather Service)\n- [ ] Canada (Enviroment Canada / Alert Ready)\n- [x] New Zealand (MetService)\n- [x] Australia (Bureau of Meteorology)\n- [x] All European Union member states (MeteoAlarm)*1\n\n*1 - Austria, Belgium, Bulgaria, Croatia, Republic of Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain and Sweden.\n\n### How to use\n\nNodeJS:\n\n```javascript\nconst { MeteoAlarm } = require(\"weather-alerts\"); // Import the MeteoAlarm class\n\nMeteoAlarm.getAlerts(\"Belgium\").then((alerts) =\u003e { // Get the alerts for Belgium\n  console.log(alerts); // Log the alerts\n});\n```\n\nTypeScript:\n\n```typescript\nimport { MetOffice } from \"weather-alerts\"; // Import the MetOffice class\n\nMetOffice.getAlerts(\"East Midlands\").then(alerts =\u003e { // Get the alerts for the East Midlands of the UK\n    console.log(alerts); // Log the alerts\n});\n```\n\nAll countries have their own class, which can be imported from the library. The class name is the meteological service name in camel case, with the first letter capitalised. For example, the Met Office is `MetOffice`, the National Weather Service is `NationalWeatherService`, and the MeteoAlarm service is `MeteoAlarm`. All classes are also aliased to their country name and a two letter abreviation of the meteological service name.\n\n### Notices\n\n- Most of the time, the meterological offices in the supported countries will require you to link to any active alerts. Please check the terms and conditions of the weather alert service you are using before using this library.\n- This library is not affiliated with any of the weather alert services listed above.\n- Some of the alerts may not be in English. This is due to the fact that the weather alert services do not provide an English translation of the alert. This library will return the alert in the language it is provided in. However, the following countries do provide an English translation of the alert: United Kingdom, United States, New Zealand, Australia, Ireland.\n\n### Change log\n\n1.0.0 \u0026 1.0.1 \u0026 1.0.2 \u0026 1.0.3 - Broken releases, do not use. (I don't know how to use NPM. I also don't know how to delete releases.)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStellaraUmbrix%2FWeatherAlerts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStellaraUmbrix%2FWeatherAlerts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStellaraUmbrix%2FWeatherAlerts/lists"}