{"id":28469213,"url":"https://github.com/elzup/calc-vpd","last_synced_at":"2026-03-06T01:35:43.451Z","repository":{"id":32661200,"uuid":"139086596","full_name":"elzup/calc-vpd","owner":"elzup","description":"VPD (Vapor Pressure Deficit) function","archived":false,"fork":false,"pushed_at":"2025-07-25T18:13:51.000Z","size":1059,"stargazers_count":0,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T01:01:35.521Z","etag":null,"topics":["agriculture","iot","science","vpd"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elzup.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","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}},"created_at":"2018-06-29T01:36:04.000Z","updated_at":"2021-12-31T20:46:05.000Z","dependencies_parsed_at":"2023-09-24T05:07:05.084Z","dependency_job_id":"8ed9d6ad-5665-48bc-ae3c-a301cf62607d","html_url":"https://github.com/elzup/calc-vpd","commit_stats":{"total_commits":126,"total_committers":4,"mean_commits":31.5,"dds":0.3492063492063492,"last_synced_commit":"933bd17cb4402ec30d988baaed00cce13b11c934"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/elzup/calc-vpd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elzup%2Fcalc-vpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elzup%2Fcalc-vpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elzup%2Fcalc-vpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elzup%2Fcalc-vpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elzup","download_url":"https://codeload.github.com/elzup/calc-vpd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elzup%2Fcalc-vpd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267128402,"owners_count":24040161,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"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":["agriculture","iot","science","vpd"],"created_at":"2025-06-07T08:30:56.212Z","updated_at":"2026-03-06T01:35:38.405Z","avatar_url":"https://github.com/elzup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calc-vpd\n\n![Node.js CI](https://github.com/elzup/calc-vpd/workflows/Node.js%20CI/badge.svg)\n[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)\n\n\u003e VPD (Vapor Pressure Deficit) function\n\n- 水蒸気圧 = 6.1078 \\* 10 ^ ((7.5 - 気温 / (気温 + 237.3)))\n- 飽和水蒸気量 = 217 - 水蒸気圧 / (気温 + 273.15)\n- 飽差 = (100 - 相対湿度) \\* 飽和水蒸気量 / 100\n\n参考: http://bigbearfarm.blog.fc2.com/blog-entry-306.html\n\n## Install\n\n```\n$ npm install calc-vpd\n```\n\n## Usage\n\n```js\nconst calcVpd = require('calc-vpd')\n\ncalcVpd({ tmp: 29.2, hmd: 76.5 })\n//=\u003e {\n//     \"swv\": 29.080252344,\n//     \"vp\": 40.518038231,\n//     \"vpd\": 6.833859301,\n//   }\n```\n\n## API\n\n### `calcVpd(input)`\n\n#### input\n\nType: `{ tmp: number, hmd: number }`\n\ntmp: 気温\nhmd: 湿度\n\n#### output\n\nType: `{ swv: number, vp: number, vpd number }`\u003cbr\u003e\n\nvp: 水蒸気圧,\nswv: 飽和水蒸気量,\nvpd: 飽差\n\n## License\n\nMIT © [elzup](https://elzup.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felzup%2Fcalc-vpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felzup%2Fcalc-vpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felzup%2Fcalc-vpd/lists"}