{"id":17049352,"url":"https://github.com/samccone/weathers","last_synced_at":"2026-04-19T14:03:48.662Z","repository":{"id":5514857,"uuid":"6715859","full_name":"samccone/weathers","owner":"samccone","description":"node.js weather wrapper","archived":false,"fork":false,"pushed_at":"2013-10-01T18:39:28.000Z","size":136,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T03:02:02.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/samccone.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}},"created_at":"2012-11-16T03:24:59.000Z","updated_at":"2015-06-04T18:44:11.000Z","dependencies_parsed_at":"2022-07-06T22:31:40.031Z","dependency_job_id":null,"html_url":"https://github.com/samccone/weathers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samccone/weathers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fweathers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fweathers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fweathers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fweathers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samccone","download_url":"https://codeload.github.com/samccone/weathers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fweathers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-14T09:54:28.046Z","updated_at":"2026-04-19T14:03:48.619Z","avatar_url":"https://github.com/samccone.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e weathers \u003c/h1\u003e\n\u003cp\u003e every other weather npm was tragic so I rolled my own [its so simple]\u003c/p\u003e\n\n\u003cpre\u003e\n  \u003ccode\u003e\n    npm install weathers\n\n    --\n\n    var weathers = require('weathers');\n\n    weather.getWeather(lat, lng, function(err, data){\n     ~~ do awesome stuff! ~~\n    });\n  \u003c/code\u003e\n\u003c/pre\u003e\n\n###### Sample Response\n```js\n{ operationalMode: '',\n  srsName: 'WGS 1984',\n  creationDate: '2013-10-01T06:51:22-04:00',\n  creationDateLocal: '1 Oct 09:55 am EDT',\n  productionCenter: 'Taunton, MA',\n  credit: 'http://www.erh.noaa.gov/box/',\n  moreInformation: 'http://weather.gov',\n  location:\n   { latitude: '41.83',\n     longitude: '-71.41',\n     elevation: '98',\n     wfo: 'BOX',\n     timezone: 'E|Y|5',\n     areaDescription: 'Providence RI',\n     radar: 'kbox',\n     zone: 'RIZ002',\n     county: 'RIC007',\n     firezone: 'RIZ002',\n     metar: 'KSFZ' },\n  time:\n   { layoutKey: 'k-p12h-n13-1',\n     startPeriodName:\n      [ 'Today',\n        'Tonight',\n        'Wednesday',\n        'Wednesday Night',\n        'Thursday',\n        'Thursday Night',\n        'Friday',\n        'Friday Night',\n        'Saturday',\n        'Saturday Night',\n        'Sunday',\n        'Sunday Night',\n        'Monday' ],\n     startValidTime:\n      [ '2013-10-01T06:00:00-04:00',\n        '2013-10-01T18:00:00-04:00',\n        '2013-10-02T06:00:00-04:00',\n        '2013-10-02T18:00:00-04:00',\n        '2013-10-03T06:00:00-04:00',\n        '2013-10-03T18:00:00-04:00',\n        '2013-10-04T06:00:00-04:00',\n        '2013-10-04T18:00:00-04:00',\n        '2013-10-05T06:00:00-04:00',\n        '2013-10-05T18:00:00-04:00',\n        '2013-10-06T06:00:00-04:00',\n        '2013-10-06T18:00:00-04:00',\n        '2013-10-07T06:00:00-04:00' ],\n     tempLabel:\n      [ 'High',\n        'Low',\n        'High',\n        'Low',\n        'High',\n        'Low',\n        'High',\n        'Low',\n        'High',\n        'Low',\n        'High',\n        'Low',\n        'High' ] },\n  data:\n   { temperature:\n      [ '76',\n        '55',\n        '83',\n        '55',\n        '76',\n        '54',\n        '75',\n        '57',\n        '74',\n        '55',\n        '74',\n        '57',\n        '72' ],\n     pop:\n      [ null,\n        null,\n        null,\n        null,\n        null,\n        null,\n        '30',\n        '30',\n        null,\n        null,\n        null,\n        '40',\n        '40' ],\n     weather:\n      [ 'Sunny',\n        'Mostly Clear',\n        'Sunny',\n        'Clear',\n        'Sunny',\n        'Partly Cloudy',\n        'Chance Showers',\n        'Chance Showers',\n        'Partly Sunny',\n        'Mostly Cloudy',\n        'Partly Sunny',\n        'Chance Showers',\n        'Chance Showers' ],\n     iconLink:\n      [ 'http://forecast.weather.gov/images/wtf/medium/few.png',\n        'http://forecast.weather.gov/images/wtf/medium/nfew.png',\n        'http://forecast.weather.gov/images/wtf/medium/few.png',\n        'http://forecast.weather.gov/images/wtf/medium/nskc.png',\n        'http://forecast.weather.gov/images/wtf/medium/few.png',\n        'http://forecast.weather.gov/images/wtf/medium/nsct.png',\n        'http://forecast.weather.gov/images/wtf/medium/shra30.png',\n        'http://forecast.weather.gov/images/wtf/medium/nshra30.png',\n        'http://forecast.weather.gov/images/wtf/medium/bkn.png',\n        'http://forecast.weather.gov/images/wtf/medium/nbkn.png',\n        'http://forecast.weather.gov/images/wtf/medium/bkn.png',\n        'http://forecast.weather.gov/images/wtf/medium/nshra40.png',\n        'http://forecast.weather.gov/images/wtf/medium/shra40.png' ],\n     hazard: [],\n     hazardUrl: [],\n     text:\n      [ 'Sunny, with a high near 76. North wind 5 to 7 mph. ',\n        'Mostly clear, with a low around 55. Light and variable wind. ',\n        'Sunny, with a high near 83. West wind 5 to 13 mph. ',\n        'Clear, with a low around 55. Northwest wind 6 to 8 mph. ',\n        'Sunny, with a high near 76. Northwest wind around 7 mph becoming southwest in the afternoon. ',\n        'Partly cloudy, with a low around 54.',\n        'A chance of showers after 11am.  Partly sunny, with a high near 75. Chance of precipitation is 30%.',\n        'A chance of showers.  Mostly cloudy, with a low around 57. Chance of precipitation is 30%.',\n        'Partly sunny, with a high near 74.',\n        'Mostly cloudy, with a low around 55.',\n        'Partly sunny, with a high near 74.',\n        'A chance of showers.  Mostly cloudy, with a low around 57. Chance of precipitation is 40%.',\n        'A chance of showers.  Mostly cloudy, with a high near 72. Chance of precipitation is 40%.' ] },\n  currentobservation:\n   { id: 'KSFZ',\n     name: 'Smithfield',\n     elev: '440',\n     latitude: '41.91',\n     longitude: '-71.4',\n     Date: '1 Oct 09:55 am EDT',\n     Temp: '64',\n     Dewp: '50',\n     Relh: '60',\n     Winds: '9',\n     Windd: '330',\n     Gust: '0',\n     Weather: 'Fair',\n     Weatherimage: 'sct.png',\n     Visibility: '10.00',\n     Altimeter: 'NA',\n     SLP: '29.98',\n     timezone: 'EDT',\n     state: 'RI',\n     WindChill: '64' } \n }\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamccone%2Fweathers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamccone%2Fweathers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamccone%2Fweathers/lists"}