{"id":39084116,"url":"https://github.com/open-weather-vision/vantjs","last_synced_at":"2026-01-17T18:34:53.986Z","repository":{"id":42527546,"uuid":"382283885","full_name":"open-weather-vision/vantjs","owner":"open-weather-vision","description":"platform-independent javascript/typescript interface to Davis Vantage Pro, Davis VantagePro 2 and Davis Vantage Vue","archived":false,"fork":false,"pushed_at":"2025-03-19T09:07:07.000Z","size":1510,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T21:52:32.092Z","etag":null,"topics":["davis-vantage","davis-weather","interface","nodejs","serialport","typescript","vantage","vantage-pro","vantage-pro2","vantage-vue","weather","weather-data","weather-station"],"latest_commit_sha":null,"homepage":"https://open-weather-vision.github.io/vantjs/","language":"TypeScript","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/open-weather-vision.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}},"created_at":"2021-07-02T08:38:00.000Z","updated_at":"2025-06-25T13:06:41.000Z","dependencies_parsed_at":"2023-09-26T23:11:52.935Z","dependency_job_id":"ac3f09c5-f010-4c25-972a-f5686d1c49d0","html_url":"https://github.com/open-weather-vision/vantjs","commit_stats":{"total_commits":126,"total_committers":2,"mean_commits":63.0,"dds":"0.015873015873015928","last_synced_commit":"79d65baf25d89fb2fdad8e8fa9960fb5db72ea64"},"previous_names":["open-weather-vision/vantjs","harrydehix/vantjs"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/open-weather-vision/vantjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-weather-vision%2Fvantjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-weather-vision%2Fvantjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-weather-vision%2Fvantjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-weather-vision%2Fvantjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-weather-vision","download_url":"https://codeload.github.com/open-weather-vision/vantjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-weather-vision%2Fvantjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:28:00.501Z","status":"ssl_error","status_checked_at":"2026-01-17T18:28:00.150Z","response_time":85,"last_error":"SSL_read: 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":["davis-vantage","davis-weather","interface","nodejs","serialport","typescript","vantage","vantage-pro","vantage-pro2","vantage-vue","weather","weather-data","weather-station"],"created_at":"2026-01-17T18:34:53.858Z","updated_at":"2026-01-17T18:34:53.939Z","avatar_url":"https://github.com/open-weather-vision.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vantjs\n\n![](https://badgen.net/npm/v/vantjs)\n![](https://badgen.net/npm/dy/vantjs)\n![](https://badgen.net/npm/types/vantjs)\n![](https://badgen.net/npm/license/vantjs)\n![](https://badgen.net/badge/documentation/available/green?icon=wiki)\n\u003cbr\u003e\nvantjs is a platform-independent javascript and typescript interface to the Davis Vantage Pro, Pro 2 and Vue. It works on any linux, windows or osx device!\n\n# Features\n\n-   Getting **hourly, daily, monthly** and **yearly highs and lows** (read more [here](https://open-weather-vision.github.io/vantjs/classes/structures.HighsAndLows.html))\n\n```ts\nconst highsAndLows = await station.getHighsAndLows();\n\nconsole.log(\n    `Todays minimum temperature was ${highsAndLows.tempOut.day.low} °F!`\n);\n// Output: Today's minimum temperature was 25.3 °F!\n\nconsole.log(\n    `The maximum rain rate in the current hour was ${highsAndLows.rainRate.hour} in/h!`\n);\n// Output: The maximum rain rate in the current hour was 0.2 in/h!\n```\n\n-   Getting **realtime weather data** (read more [here](https://open-weather-vision.github.io/vantjs/classes/structures.DetailedRealtimeData.html))\n\n```ts\nconst realtime = await station.getDetailedRealtimeData();\n\nconsole.log(`Currently it's ${realtime.tempOut} °F!`);\n// Output: Currently it's 45.2 °F!\n\nconsole.log(\n    `The wind blows from ${realtime.windDir} with an average speed of ${realtime.windAvg10m} mph!`\n);\n// Output: The wind blows from SW with an average speed of 23.12 mph!\n```\n\n-   **Converting** the weather data automatically to the **desired units**\n\n```ts\nconst station = await WeatherStation.connect({\n    units: {\n        temperature: \"°C\",\n        wind: \"km/h\",\n        rain: \"mm\",\n        ...\n    },\n    ....\n});\n\nconst realtime = await station.getDetailedRealtimeData();\nconsole.log(`It's ${realtime.tempIn} °C`);\n// Output: It's 23.1233 °C\n```\n\n\n-   **Stable connection** management: On disconnect vantjs repeatedly tries to reconnect in the background, your application won't crash!\n\n\n-   and more (read the [docs](https://open-weather-vision.github.io/vantjs/index.html)!)\n\n\n\n\n# Installation\n\n```bash\nnpm install vantjs\n```\n\n# Getting Started\n\nRead an introductory guide [here](/guides/1-getting-started.md).\nRead a guide about realtime data containers [here](/guides/2-realtime-data-containers.md).\n\n# Documentation\n\nRead the full documentation [here](https://open-weather-vision.github.io/vantjs/).\n\n# Community\n\nThis project is updated on demand. If you have discovered a bug or want to suggest a feature🚀, please create an issue [here](https://github.com/open-weather-vision/vantjs/issues/new/choose).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-weather-vision%2Fvantjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-weather-vision%2Fvantjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-weather-vision%2Fvantjs/lists"}