{"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":{"integrity":"sha512-iqgD538Qp6F/RzV+kDeDsoNlSZIFShuS92DE4Zw9VwronG5qWsQIrDzvd777Bv1/+quF0ItR5ooelonENN5AgQ==","shasum":"fef17db914b6edf13e7bd921b561ff0e91e6281e","tarball":"http://registry-npm.ywwl.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.3.tgz","fileCount":14,"unpackedSize":23148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbY91fCRA9TVsSAnZWagAARQIP/RJCIwijpKlUTisS+NOw\nE4/+XCEBSo5phtJVW+i8ScSOBc00J7u3hQMrpjPc3D1MskZeM5NN2az+zHpm\n15KMdISfuyQYSPb/4YBBDTZzPjJ6fYq3slTKco3Fh7d2dqPPkdivPkYfHYvc\nfdBlp4AXwG5i+0YLMVJrkmPB4ZO4gJXuTOT6fqwraSVlILSA4cRtkkYBPSGY\nIir9+5Cyg0k7AA8UpVKVuhI+rSqCGwUFYZPdnAFd05NAwImLbERKyRPSuOwn\nSTPBObnWskhWWgiWWRlzIyu/JsW1FcQpfNYLwtMyZNDRwZr1i09HUz2qnNtF\n3LVxQiOfXo8YpiLqcoVbvCPxZRUT88oegDI/xHu6ShhZPRIie37sN7aTEcS4\nvKH/Qt50yuVxMQTJwf1Py872qYdXmuFer7zag6Gtm2hhd4m2jXgxaRVvfzvC\naG3UcegJQ/1oCRQhaTia2ZV5TLl5Tr6TcID6M8Kv80VK37/YrNcqCk0TCyJf\nhRWHtVQAe9B5K2rT9UBD/jVv8titBSgKOyTjnzAIg+d5z7yPmlYUd+5VwfUT\naGYp86mX/BIxPMtILh74B/BPGcGPs6bflScCQ/dt6xekEOzZfHlTLno04aKq\nce3kzJLp5mZS0JOH77/9k/1KI3tHOGmzqpNoqDVRPBk5nwZ1PucO0ZqdzbjK\nDWVS\r\n=spHf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICln8MfggUeYVnZXq3qnT72IPXkHwfz48a2ANwVmmCd4AiBodRKlwyghVkApo9Sr0qk0vBoiq6H7FNhMGX67YtmPTw=="}],"size":8120,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.3.tgz"},"maintainers":[{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor_1.0.3_1533271390623_0.5384893064277168"},"_hasShrinkwrap":false,"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  [![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.8: add Apple Silicon M1 support\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- Anton Solomonov [Wendor](https://github.com/Wendor) - Apple Silicon support\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; 2022 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[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","publish_time":1533271390755,"_cnpm_publish_time":1533271390755,"dist-tags":{"latest":"1.0.8"}}