{"id":17359449,"url":"https://github.com/dreamdevil00/express-ping-win-posix","last_synced_at":"2026-05-17T17:32:44.564Z","repository":{"id":143893313,"uuid":"95087344","full_name":"dreamdevil00/express-ping-win-posix","owner":"dreamdevil00","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-08T02:29:23.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T15:50:35.074Z","etag":null,"topics":["express","middleware","monitor"],"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/dreamdevil00.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":"2017-06-22T07:30:11.000Z","updated_at":"2018-02-08T02:31:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"2189e81b-065c-4fe5-88df-8e9b2cb230a4","html_url":"https://github.com/dreamdevil00/express-ping-win-posix","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dreamdevil00/express-ping-win-posix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdevil00%2Fexpress-ping-win-posix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdevil00%2Fexpress-ping-win-posix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdevil00%2Fexpress-ping-win-posix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdevil00%2Fexpress-ping-win-posix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamdevil00","download_url":"https://codeload.github.com/dreamdevil00/express-ping-win-posix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdevil00%2Fexpress-ping-win-posix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270861715,"owners_count":24658640,"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-08-17T02:00:09.016Z","response_time":129,"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":["express","middleware","monitor"],"created_at":"2024-10-15T19:09:39.970Z","updated_at":"2026-05-17T17:32:39.530Z","avatar_url":"https://github.com/dreamdevil00.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-ping-win-posix\n\n## Why?\n\nI want to get some information about disk info the server listening on,\nand found [express-ping](https://github.com/palmerabollo/express-ping) nearly fit my need, but it's a pity that it does not support windows. So I make some changes to it to support windows.\n\n## Usage\n\nThe usage of this middleware is the same as [express-ping](https://github.com/palmerabollo/express-ping),\nbut there is some differences in diskinfo between this middleware and the express-ping.\nYou will receive the following information:\n```\n{\n  \"timestamp\": 1498116125059,\n  \"uptime\": 15.704,\n  \"application\": {\n    \"name\": \"express-ping-win-posix-example\",\n    \"version\": \"1.0.0\",\n    \"pid\": 22476,\n    \"title\": \"管理员:   - node  .\",\n    \"argv\": [\n      \"C:\\\\Program Files\\\\nodejs\\\\node.exe\",\n      \"E:\\\\Lab\\\\express-ping-win-posix\\\\examples\"\n    ],\n    \"versions\": {\n      \"http_parser\": \"2.7.0\",\n      \"node\": \"6.10.3\",\n      \"v8\": \"5.1.281.101\",\n      \"uv\": \"1.9.1\",\n      \"zlib\": \"1.2.11\",\n      \"ares\": \"1.10.1-DEV\",\n      \"icu\": \"58.2\",\n      \"modules\": \"48\",\n      \"openssl\": \"1.0.2k\"\n    },\n    \"dependencies\": {\n      \"express\": \"^4.15.3\"\n    }\n  },\n  \"resources\": {\n    \"memory\": {\n      \"rss\": 39145472,\n      \"heapTotal\": 25251840,\n      \"heapUsed\": 17003336,\n      \"external\": 249788\n    },\n    \"loadavg\": [\n      0,\n      0,\n      0\n    ],\n    \"cpu\": [\n      {\n        \"model\": \"Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz\",\n        \"speed\": 2666,\n        \"times\": {\n          \"user\": 65169433,\n          \"nice\": 0,\n          \"sys\": 81525139,\n          \"idle\": 645088361,\n          \"irq\": 1400654\n        }\n      },\n      {\n        \"model\": \"Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz\",\n        \"speed\": 2666,\n        \"times\": {\n          \"user\": 72378660,\n          \"nice\": 0,\n          \"sys\": 81296005,\n          \"idle\": 638107020,\n          \"irq\": 1228866\n        }\n      }\n    ],\n    \"disk\": [\n      {\n        \"available\": 2856988672,\n        \"free\": 2856988672,\n        \"total\": 53694595072,\n        \"path\": \"C:\"\n      },\n      {\n        \"available\": 9942626304,\n        \"free\": 9942626304,\n        \"total\": 98793803776,\n        \"path\": \"D:\"\n      },\n      {\n        \"available\": 34008039424,\n        \"free\": 34008039424,\n        \"total\": 97568235520,\n        \"path\": \"E:\"\n      }\n    ],\n    \"nics\": {\n      \"本地连接\": [\n        {\n          \"address\": \"fe80::911:64d4:aa3e:c12\",\n          \"netmask\": \"ffff:ffff:ffff:ffff::\",\n          \"family\": \"IPv6\",\n          \"mac\": \"00:22:15:04:cc:6b\",\n          \"scopeid\": 11,\n          \"internal\": false\n        },\n        {\n          \"address\": \"10.132.179.242\",\n          \"netmask\": \"255.255.255.240\",\n          \"family\": \"IPv4\",\n          \"mac\": \"00:22:15:04:cc:6b\",\n          \"internal\": false\n        }\n      ],\n      \"Loopback Pseudo-Interface 1\": [\n        {\n          \"address\": \"::1\",\n          \"netmask\": \"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\",\n          \"family\": \"IPv6\",\n          \"mac\": \"00:00:00:00:00:00\",\n          \"scopeid\": 0,\n          \"internal\": true\n        },\n        {\n          \"address\": \"127.0.0.1\",\n          \"netmask\": \"255.0.0.0\",\n          \"family\": \"IPv4\",\n          \"mac\": \"00:00:00:00:00:00\",\n          \"internal\": true\n        }\n      ]\n    }\n  },\n  \"system\": {\n    \"arch\": \"x64\",\n    \"platform\": \"win32\",\n    \"type\": \"Windows_NT\",\n    \"release\": \"6.1.7601\",\n    \"hostname\": \"PC200201010012\",\n    \"uptime\": 791781.713459,\n    \"cores\": 2,\n    \"memory\": 7515267072\n  }\n}\n```\n\n## License\nMIT\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamdevil00%2Fexpress-ping-win-posix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamdevil00%2Fexpress-ping-win-posix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamdevil00%2Fexpress-ping-win-posix/lists"}