{"id":20698796,"url":"https://github.com/rwson/wmi-client-chinese","last_synced_at":"2026-04-18T20:02:08.826Z","repository":{"id":87105693,"uuid":"134374792","full_name":"rwson/wmi-client-chinese","owner":"rwson","description":"Wrapper around the WMI client. Linux and Windows WMI clients are supported. fixed chinese garbled problem","archived":false,"fork":false,"pushed_at":"2018-05-22T07:26:37.000Z","size":5177,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T03:41:51.683Z","etag":null,"topics":["system-info","wmi"],"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/rwson.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":"2018-05-22T07:08:11.000Z","updated_at":"2018-05-22T07:34:10.000Z","dependencies_parsed_at":"2023-07-04T22:49:36.100Z","dependency_job_id":null,"html_url":"https://github.com/rwson/wmi-client-chinese","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rwson/wmi-client-chinese","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwson%2Fwmi-client-chinese","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwson%2Fwmi-client-chinese/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwson%2Fwmi-client-chinese/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwson%2Fwmi-client-chinese/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwson","download_url":"https://codeload.github.com/rwson/wmi-client-chinese/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwson%2Fwmi-client-chinese/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"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":["system-info","wmi"],"created_at":"2024-11-17T00:26:56.256Z","updated_at":"2026-04-18T20:02:08.810Z","avatar_url":"https://github.com/rwson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wmi-client-chinese\n\nWrapper around the WMI client. Linux and Windows WMI clients are supported. fixed chinese garbled problem. \n\n### Install\n```bash\nnpm install wmi-client-chinese --save\n```\n\n### Usage\n```javascript\nvar WmiClient = require('wmi-client-chinese');\n\nvar wmi = new WmiClient({\n    username: 'LOGIN',\n    password: 'PASSWORD',\n    host: 'IP-ADDRESS',\n    ntlm2: true // only for linux\n});\n\nwmi.query('SELECT Caption,Version FROM Win32_OperatingSystem', function (err, result) {\n    console.log(result);\n    \n    /*\n      [{\n        Caption: 'Microsoft Windows 7 旗舰版',\n        Version: '6.1.7601'\n      }]\n    */\n});\n```\n\n基于[wmi-client](https://github.com/R-Vision/wmi-client), 解决获取windows下获取信息中文乱码的问题\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwson%2Fwmi-client-chinese","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwson%2Fwmi-client-chinese","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwson%2Fwmi-client-chinese/lists"}