{"name":"osx-temperature-sensor","version":"1.0.8","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":"36c642292d1510c8deb0c0cdae654ca7aac2efb8","bugs":{"url":"https://github.com/sebhildebrandt/osx-temperature-sensor/issues"},"_id":"osx-temperature-sensor@1.0.8","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-Gl3b+bn7+oDDnqPa+4v/cg3yg9lnE8ppS7ivL3opBZh4i7h99JNmkm6zWmo0m2a83UUJu+C9D7lGP0OS8IlehA==","shasum":"14665adefb85d5a1e752e755eeb7ce9708d67c49","tarball":"http://registry-npm.ywwl.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.8.tgz","fileCount":14,"unpackedSize":27557,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2d23TQMai7NWRTgXOOJJTB/dBNQCRV+GKHzopO15fnAiBVjliftRe3NtH7trqkVzczyb0J80Y2qxI/uBC69R0HeQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiz7WeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoU8xAAmM9XeuJDUgxD1L3wyCw64fLj/di81TkKWzv7smNG1rHa5XbR\r\n6vVt/BIvczYa19aNSPhMoqjp6X6omJBEhT8883QbnSQu/h79hKBLlheUn4BJ\r\nkubk04TJ/i3T14Dnd65MF5igk9BuXLEVWjoetB6xLlqabOKlsIggWdTA70AR\r\nq+ppjRr/8ZSxPNtV7ggX1nB7yY578Uc41Ruj0cM+f7gwOo+D06c6je6dZJJa\r\n4IvfyXNAljO6aSJC36Spy2zrQSk/QDRvEtt+jIs3AdQVzK8D4ZsvDs2MlqIK\r\nRB/N2J/2bXpCH+6KVac/xck5fhy3PmgkHK0aTcRgIaqpNfpmHSKhrJ8QeOYs\r\nDivL36eKdk9wX6LWrz9fwHdpNKMZgvOimBf54RD00mKPY0GZCE19p9/7BxtY\r\nXdTt0okxiVWg2TYWnmtX3J9KTQbudvaq2GCd06yHz49JnQgG6DKBsV1AzjAj\r\nq/w8jxHlgW3C0Gewwl0ArJ6uPPE45IHto2iJiqLML9hN/yIuAgiDHnhbw8mt\r\nMu8dXBGlxjab7QZ4DminZW4ZnZxxdhn8r7mye7mhDuVT9Q5fa5EQTJXyI4tD\r\nzN31VMaX2JELpKUsNEg+OcK5EyIIMYjB9WS5MGuU4eBOvvfHSyaK7eOEqU0c\r\n1ScZUiJWA55cA2vAY3ZDqpfNdl8XW78UFqs=\r\n=ndh5\r\n-----END PGP SIGNATURE-----\r\n","size":9603,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.8.tgz"},"_npmUser":{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"},"directories":{},"maintainers":[{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osx-temperature-sensor_1.0.8_1657779614457_0.3648072955456487"},"_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":1657779614659,"_cnpm_publish_time":1657779614659,"dist-tags":{"latest":"1.0.8"}}