{"id":17709770,"url":"https://github.com/d0mih/macos-system-info","last_synced_at":"2026-01-19T09:02:14.104Z","repository":{"id":34986754,"uuid":"188446669","full_name":"D0miH/macos-system-info","owner":"D0miH","description":"Node bindings to communicate with the Apple SMC.","archived":false,"fork":false,"pushed_at":"2022-12-09T07:16:46.000Z","size":434,"stargazers_count":2,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-16T22:01:47.748Z","etag":null,"topics":["apple","nodejs","npm-package","osx","smc","typescript"],"latest_commit_sha":null,"homepage":"","language":"C++","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/D0miH.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}},"created_at":"2019-05-24T15:33:07.000Z","updated_at":"2022-05-19T14:26:31.000Z","dependencies_parsed_at":"2023-01-15T11:31:56.201Z","dependency_job_id":null,"html_url":"https://github.com/D0miH/macos-system-info","commit_stats":null,"previous_names":["d0mih/smcnodekit"],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D0miH%2Fmacos-system-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D0miH%2Fmacos-system-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D0miH%2Fmacos-system-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D0miH%2Fmacos-system-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/D0miH","download_url":"https://codeload.github.com/D0miH/macos-system-info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623005,"owners_count":20968574,"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","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":["apple","nodejs","npm-package","osx","smc","typescript"],"created_at":"2024-10-25T05:05:23.117Z","updated_at":"2026-01-19T09:02:14.076Z","avatar_url":"https://github.com/D0miH.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macos-system-info\n\n[![Build Status](https://img.shields.io/travis/D0miH/macos-system-info.svg?style=flat-square)](https://travis-ci.org/D0miH/macos-system-info) [![npm](https://img.shields.io/npm/v/macos-system-info.svg?style=flat-square)](https://www.npmjs.com/package/macos-system-info)\n\n### Library to easily read system information about your mac using Node.js\n\n## Installation\n\n```sh\nnpm install macos-system-info\n```\n\nor\n\n```sh\nyarn add macos-system-info\n```\n\n## Documentation\n\nYou can find the documentation [here](https://d0mih.github.io/macos-system-info/).\n\n## Usage\n\nThis little code snipped shows how to read the current CPU temperature:\n\n```javascript\n// import the class\nconst { SystemInfo } = require('macos-system-info');\n\n// create a new instance of the class and open the connection to the SMC\nconst systemInfo = new SystemInfo();\nsystemInfo.open();\n\n// read the cpu temperature\nconsole.log(systemInfo.getCpuTemp());\n\n// close the connection to the SMC\nsystemInfo.close();\n```\n\nIf you are using typescript you can use named imports:\n\n```javascript\n// import the class\nimport { SystemInfo } from 'macos-system-info';\n\n// create a new instance of the class and open the connection to the SMC\nconst systemInfo: SystemInfo = new SystemInfo();\nsystemInfo.open();\n\n// read the cpu temperature\nconsole.log(systemInfo.getCpuTemp());\n\n// close the connection to the SMC\nsystemInfo.close();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd0mih%2Fmacos-system-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd0mih%2Fmacos-system-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd0mih%2Fmacos-system-info/lists"}