{"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":{"integrity":"sha512-pths6RRcL52OWQmJv9TnGiWE/udIYK3umnQCGr0QPWU/D1e4PL6I0YsBE4RBiC7pSwTP2Z3DpM2AAec5NnkLLA==","shasum":"077b3d1a4a93a150cc793f53904db01db1f84e83","tarball":"http://registry-npm.ywwl.com/osx-temperature-sensor/download/osx-temperature-sensor-1.0.4.tgz","fileCount":14,"unpackedSize":23495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdai/sCRA9TVsSAnZWagAAbjIP/iUDeNhI5oaeKCa2gnsl\nWU7eu65rEeNKFzjPLoMO883bSk3uaHxmq80r7i+KqSHN0eLO5ln5FqQZiDC3\njzHEzHzn4DsWiBUc5fVGNshfol8Kl5IxKQ8CPvzrlpznvmwvRHGzXbf2drQm\nFmkj6xYUlB4VdMOmgQ6Z+BJVKC+/hwZWEDV16YShCtvEkDUNNh9/7U3bNqdD\njpLDGpHnHnCzOLxJT3zYVhjzPx5rQRPIeIlzz5aoBGzaWps3EI3zsJjtQcSr\nUUvLISRSz2KyKiHiz+AsFkUwsZbCatw1VdIvkfAXueDNchjxlKvYpmxsZAQm\nKxXWcAloNOEXRDKZvDEhvXBTUytXNx9J4GO5OK9LWiTJuVwmvLlgtM7ZOsJX\n1uPJ3Hu0IaRPR44SoPyDPbgDfJPa6I3zN6RBD29C3mUQJh0Bm0ZyEnEXf+zs\ntHKSM8jNP4hULuNRiX2OLRKXHMfkOtaHJdhqftFczk1Fs0t1QdVqi/4eO4vX\n6++XUq9vg9Iz4JyAIXQnvvqwVOl+2axy/h2YaWCcdx0UE/e9IiNrseDfDPVG\nTAeN77sxn0PHc00Ex2kCHljD2GaHoa6InRqCv5I52lcI3BWZWAjvZFz/a9+k\nyOsSFoOdxevvqHhsFwqFpQRjHZ0t9u9NFwAU+UQjq9eh94HzMXqXVF33fPBc\n2uFu\r\n=PmFl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcKTqt3grzrSyA8rAJ+PAqrSPKT3enSSoutWKup+AL2AiAE7hCKMoREKLY5cUd9mOINr+pE5PQVlRT7RXG2BFPMbQ=="}],"size":8242,"noattachment":false,"key":"/osx-temperature-sensor/-/osx-temperature-sensor-1.0.4.tgz"},"maintainers":[{"name":"plusinnovations","email":"hildebrandt@plus-innovations.com"}],"_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,"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":1567240172201,"_cnpm_publish_time":1567240172201,"dist-tags":{"latest":"1.0.8"}}