Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

osx-temperature-sensor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osx-temperature-sensor

OSX temperature sensor

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
182
decreased by-1.62%
Maintainers
1
Weekly downloads
 
Created
Source

osx-temperature-sensor

OSX Temperature Sensor library for node.js

NPM Version NPM Downloads Git Issues deps status GPL license

Quick Start

This small library captures CPU temperature on OSX using SMC - all values are in degree Celsius

Installation

$ npm install osx-temperature-sensor --save

Usage

Here a small example how to use this library:

const osxTemp = require('osx-temperature-sensor');

let temperature = osxTemp.cpuTemperature();
console.log('CPU-Information:');
console.log(temperature);

News and Changes

Latest Activity

  • Version 1.0.5: changed license to GPL
  • Version 1.0.4: Add compatibility for Node 12 and fix deprecation warnings
  • Version 1.0.3: updated issue template
  • Version 1.0.2: updated documentation
  • Version 1.0.1: updated documentation
  • Version 1.0.0: initial release

If you have comments, suggestions & reports, please feel free to contact me!

This library is used by one of my other libraries systeminformation, also available via github and npm

Reference

Function Reference

FunctionComments
osxTemp.version()library version (no callback/promise)
osxTemp.cpuTemperature(cb)CPU temperature (if sensors is installed) in Celsius
- mainmain temperature
- coresarray of temperatures
- maxmax temperature

This library is supposed to only work on OSX

Known Issues

I am happy to discuss any comments and suggestions. Please feel free to contact me if you see any possibility of improvement!

Comments

If you have ideas or comments, please do not hesitate to contact me.

Happy monitoring!

Sincerely,

Sebastian Hildebrandt, +innovations

Credits

Written by Sebastian Hildebrandt sebhildebrandt

Contributers

OSX Temperature: Credits here are going to:

OS X is a registered trademark of Apple Inc., Node.js is a trademark of Joyent Inc., All other trademarks are the property of their respective owners.

License MIT license

The GPL License (GPL)

Copyright © 2017 Sebastian Hildebrandt, +innovations.

for Apple System Management Control (SMC) Tool Copyright © 2006 devnull

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Further details see LICENSE file.

Keywords

FAQs

Package last updated on 24 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc