{"_id":"osx-temperature-sensor","_rev":"2772478","name":"osx-temperature-sensor","description":"OSX temperature sensor","dist-tags":{"latest":"1.0.7"},"maintainers":[{"name":"plusinnovations","email":""}],"time":{"modified":"2022-05-23T09:41:31.000Z","created":"2017-06-12T09:02:54.357Z","1.0.7":"2020-05-20T04:54:19.817Z","1.0.6":"2020-05-20T04:33:13.522Z","1.0.5":"2020-01-24T22:30:38.902Z","1.0.4":"2019-08-31T08:29:32.201Z","1.0.3":"2018-08-03T04:43:10.755Z","1.0.1":"2017-06-12T09:12:50.939Z","1.0.0":"2017-06-12T09:02:54.357Z"},"users":{},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"versions":{"1.0.7":{"name":"osx-temperature-sensor","version":"1.0.7","description":"OSX temperature sensor","license":"MIT","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","keywords":["system information","sysinfo","osx","cpu","temperature","sensor"],"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"os":["darwin"],"engines":{"node":">=4.0.0"},"gypfile":true,"gitHead":"1f84bfcb9e3d9b49887c2f3008683b50e87da059","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.7","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"shasum":"5bbbd28bf86dc1d5391cfa7f067f0308807ddae9","size":9549,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.7.tgz"},"maintainers":[{"name":"plusinnovations","email":""}],"_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor_1.0.7_1589950459665_0.7869515119021162"},"_hasShrinkwrap":false,"publish_time":1589950459817,"_cnpm_publish_time":1589950459817,"_cnpmcore_publish_time":"2021-12-16T18:14:39.676Z","hasInstallScript":true},"1.0.6":{"name":"osx-temperature-sensor","version":"1.0.6","description":"OSX temperature sensor","license":"MIT","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","keywords":["system information","sysinfo","osx","cpu","temperature","sensor"],"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"os":["darwin"],"engines":{"node":">=4.0.0"},"gypfile":true,"gitHead":"d608b23fdccb290c4c71a67bf405def673835be8","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.6","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"shasum":"e4e1b44b08fc552886ef69e440e7bf8393a6f633","size":9439,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.6.tgz"},"maintainers":[{"name":"plusinnovations","email":""}],"_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor_1.0.6_1589949193401_0.13557405513138887"},"_hasShrinkwrap":false,"publish_time":1589949193522,"_cnpm_publish_time":1589949193522,"_cnpmcore_publish_time":"2021-12-16T18:14:39.892Z","hasInstallScript":true},"1.0.5":{"name":"osx-temperature-sensor","version":"1.0.5","description":"OSX temperature sensor","license":"MIT","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","keywords":["system information","sysinfo","osx","cpu","temperature","sensor"],"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"os":["darwin"],"engines":{"node":">=4.0.0"},"gypfile":true,"gitHead":"7a13a1ab50d283fd1eb4d0d1cc39858ff0f5aaca","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.5","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"shasum":"fd4c198f97305add8a02a768f0526e10319a1f6f","size":7782,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.5.tgz"},"maintainers":[{"name":"plusinnovations","email":""}],"_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor_1.0.5_1579905038757_0.5833042584722448"},"_hasShrinkwrap":false,"publish_time":1579905038902,"_cnpm_publish_time":1579905038902,"_cnpmcore_publish_time":"2021-12-16T18:14:40.103Z","hasInstallScript":true},"1.0.4":{"name":"osx-temperature-sensor","version":"1.0.4","description":"OSX temperature sensor","license":"MIT","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","keywords":["system information","sysinfo","osx","cpu","temperature","sensor"],"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"os":["darwin"],"engines":{"node":">=4.0.0"},"gypfile":true,"gitHead":"aa98512342587c2506bbd256968e88c8c530f98e","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.4","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"shasum":"077b3d1a4a93a150cc793f53904db01db1f84e83","size":8242,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.4.tgz"},"maintainers":[{"name":"plusinnovations","email":""}],"_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor_1.0.4_1567240172088_0.7344224302180906"},"_hasShrinkwrap":false,"publish_time":1567240172201,"_cnpm_publish_time":1567240172201,"_cnpmcore_publish_time":"2021-12-16T18:14:40.294Z","hasInstallScript":true},"1.0.3":{"name":"osx-temperature-sensor","version":"1.0.3","description":"OSX temperature sensor","license":"MIT","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","keywords":["system information","sysinfo","osx","cpu","temperature","sensor"],"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"os":["darwin"],"engines":{"node":">=4.0.0"},"gypfile":true,"gitHead":"a11f9f440977eb1954d9dccbd8f3c0fe28c4ed48","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"dist":{"shasum":"fef17db914b6edf13e7bd921b561ff0e91e6281e","size":8120,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.3.tgz"},"maintainers":[{"name":"plusinnovations","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor_1.0.3_1533271390623_0.5384893064277168"},"_hasShrinkwrap":false,"publish_time":1533271390755,"_cnpm_publish_time":1533271390755,"_cnpmcore_publish_time":"2021-12-16T18:14:40.499Z","hasInstallScript":true},"1.0.1":{"name":"osx-temperature-sensor","version":"1.0.1","description":"OSX temperature sensor","license":"MIT","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","keywords":["system information","sysinfo","osx","cpu","temperature","sensor"],"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"os":["darwin"],"engines":{"node":">=4.0.0"},"gypfile":true,"gitHead":"010d4ed0ce46796201dbf6ae65050f1e38247992","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.1","_shasum":"a37eabeb79a2a01ec4bad11a7888fd0ccd95c080","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"dist":{"shasum":"a37eabeb79a2a01ec4bad11a7888fd0ccd95c080","size":6443,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.1.tgz"},"maintainers":[{"name":"plusinnovations","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor-1.0.1.tgz_1497258769970_0.5132384654134512"},"directories":{},"publish_time":1497258770939,"_hasShrinkwrap":false,"_cnpm_publish_time":1497258770939,"_cnpmcore_publish_time":"2021-12-16T18:14:40.694Z","hasInstallScript":true},"1.0.0":{"name":"osx-temperature-sensor","version":"1.0.0","description":"OSX temperature sensor","license":"MIT","main":"./lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Sebastian Hildebrandt","email":"hildebrandt@plus-innovations.com","url":"https://plus-innovations.com"},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","keywords":["system information","sysinfo","osx","cpu","temperature","sensor"],"repository":{"type":"git","url":"git+https://github.com/sebhildebrandt/osx-temperature-sensor.git"},"os":["darwin"],"engines":{"node":">=4.0.0"},"gitHead":"c486ac24e0dc8f286e0f2d7df7fdd8051815af6b","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.0","_shasum":"cf78383d2697e7fdf2df6d94bfd92c24644392f0","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"dist":{"shasum":"cf78383d2697e7fdf2df6d94bfd92c24644392f0","size":6443,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.0.tgz"},"maintainers":[{"name":"plusinnovations","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor-1.0.0.tgz_1497258173379_0.4688070632982999"},"directories":{},"publish_time":1497258174357,"_hasShrinkwrap":false,"_cnpm_publish_time":1497258174357,"_cnpmcore_publish_time":"2021-12-16T18:14:40.897Z"}},"readme":"# osx-temperature-sensor\n\nOSX Temperature Sensor library for [node.js][nodejs-url]\n\n  [![NPM Version][npm-image]][npm-url]\n  [![NPM Downloads][downloads-image]][downloads-url]\n  [![Git Issues][issues-img]][issues-url]\n  [![deps status][daviddm-img]][daviddm-url]\n  [![Code Quality: Javascript][lgtm-badge]][lgtm-badge-url]\n  [![Total alerts][lgtm-alerts]][lgtm-alerts-url]\n[![MIT license][license-img]][license-url]\n\n## Quick Start\n\nThis small library captures CPU temperature on macOS using [SMC][smc-code-url] - all values are in degree Celsius\n\n### Installation\n\n```bash\n$ npm install osx-temperature-sensor --save\n```\n\n### Usage\n\nHere a small example how to use this library:\n\n```js\nconst osxTemp = require('osx-temperature-sensor');\n\nlet temperature = osxTemp.cpuTemperature();\nconsole.log('CPU-Information:');\nconsole.log(temperature);\n```\n\n## News and Changes\n\n### Latest Activity\n\n- Version 1.0.7: updated documentation\n- Version 1.0.6: reverted license to MIT (thanks to Frank Stock)\n- Version 1.0.5: changed license to GPL\n- Version 1.0.4: Add compatibility for Node 12 and fix deprecation warnings\n- Version 1.0.3: updated issue template\n- Version 1.0.2: updated documentation\n- Version 1.0.1: updated documentation\n- Version 1.0.0: initial release\n\nIf you have comments, suggestions & reports, please feel free to contact me!\n\nThis library is used by one of my other libraries [systeminformation][systeminformation-github-url], also available via [github][systeminformation-github-url] and [npm][systeminformation-npm-url]\n\n\n## Reference\n\n### Function Reference\n\n| Function        | Comments |\n| --------------- | -------- |\n| osxTemp.version() | library version (no callback/promise) |\n| osxTemp.cpuTemperature(cb) | CPU temperature (if sensors is installed) in Celsius |\n| - main | main temperature |\n| - cores | array of temperatures |\n| - max | max temperature |\n\nThis library is supposed to only work on macOS\n\n## Known Issues\n\nI am happy to discuss any comments and suggestions. Please feel free to contact me if you see any possibility of improvement!\n\n## Comments\n\nIf you have ideas or comments, please do not hesitate to contact me.\n\n\nHappy monitoring!\n\nSincerely,\n\nSebastian Hildebrandt, [+innovations](http://www.plus-innovations.com)\n\n## Credits\n\nWritten by Sebastian Hildebrandt [sebhildebrandt](https://github.com/sebhildebrandt)\n\n#### Contributers\n\nOSX Temperature: Credits here are going to:\n\n- Frank Stock [pcafstockf](https://github.com/pcafstockf) - for his work on [smc-code][smc-code-url]\n\n## Copyright Information\n\nOS X aand macOS are registered trademarks of Apple Inc., Node.js is a trademark of Joyent Inc.,\nAll other trademarks are the property of their respective owners.\n\n## License [![MIT license][license-img]][license-url]\n\n>The [`MIT`][license-url] License (MIT)\n>\n>Copyright &copy; 2020 Sebastian Hildebrandt, [+innovations](http://www.plus-innovations.com).\n>\n>Permission is hereby granted, free of charge, to any person obtaining a copy\n>of this software and associated documentation files (the \"Software\"), to deal\n>in the Software without restriction, including without limitation the rights\n>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n>copies of the Software, and to permit persons to whom the Software is\n>furnished to do so, subject to the following conditions:\n>\n>The above copyright notice and this permission notice shall be included in\n>all copies or substantial portions of the Software.\n>\n>THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n>THE SOFTWARE.\n>\n>Further details see [LICENSE](LICENSE) file.\n\n\n[npm-image]: https://img.shields.io/npm/v/osx-temperature-sensor.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/osx-temperature-sensor\n[downloads-image]: https://img.shields.io/npm/dm/osx-temperature-sensor.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/osx-temperature-sensor\n\n[license-url]: https://github.com/sebhildebrandt/osx-temperature-sensor/blob/master/LICENSE\n[license-img]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n[npmjs-license]: https://img.shields.io/npm/l/osx-temperature-sensor.svg?style=flat-square\n[changelog-url]: https://github.com/sebhildebrandt/osx-temperature-sensor/blob/master/CHANGELOG.md\n\n[nodejs-url]: https://nodejs.org/en/\n[docker-url]: https://www.docker.com/\n\n[lgtm-badge]: https://img.shields.io/lgtm/grade/javascript/g/sebhildebrandt/osx-temperature-sensor.svg?style=flat-square\n[lgtm-badge-url]: https://lgtm.com/projects/g/sebhildebrandt/osx-temperature-sensor/context:javascript\n[lgtm-alerts]: https://img.shields.io/lgtm/alerts/g/sebhildebrandt/osx-temperature-sensor.svg?style=flat-square\n[lgtm-alerts-url]: https://lgtm.com/projects/g/sebhildebrandt/osx-temperature-sensor/alerts\n\n[daviddm-img]: https://img.shields.io/david/sebhildebrandt/osx-temperature-sensor.svg?style=flat-square\n[daviddm-url]: https://david-dm.org/sebhildebrandt/osx-temperature-sensor\n\n[issues-img]: https://img.shields.io/github/issues/sebhildebrandt/osx-temperature-sensor.svg?style=flat-square\n[issues-url]: https://github.com/sebhildebrandt/osx-temperature-sensor/issues\n\n[systeminformation-npm-url]: https://npmjs.org/package/systeminformation\n[systeminformation-github-url]: https://github.com/sebhildebrandt/systeminformation\n\n[smc-code-url]: https://github.com/pcafstockf/osx-temperature-sensor\n","_attachments":{},"homepage":"https://github.com/sebhildebrandt/osx-temperature-sensor","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"license":"MIT"}