{"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","tarball":"http://registry-npm.ywwl.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.0.tgz","integrity":"sha512-SnPmyMXCbGUYLCtE5oQZ7lJwK9QIIpyANqsQQEtaaiSJRzH+02uku/a8oHT5+1E9Gw+6jA24Eosre81ttPYBnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXEYsEv2AriU2WXxQgPvk5S5EVFv284fRGXR4Y45aHVAiEAsAzlMygNucj0XLO4HCoeWbPvMxbCRnvx1rktmmKl6SI="}],"size":6443,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.0.tgz"},"maintainers":[{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor-1.0.0.tgz_1497258173379_0.4688070632982999"},"directories":{},"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":1497258174357,"_cnpm_publish_time":1497258174357,"dist-tags":{"latest":"1.0.8"}}