1.0.0 • Published 4 years ago
tempirature v1.0.0
tempirature
Monitor the core temperature of your Raspberry Pi.
Usage
const tempirature = require('tempirature');
tempirature.monitor(function(error, temperature) {
if (error) {
console.error(error);
} else {
console.log('It is ' + temperature + ' °C');
}
});Contribute
- Fork it:
git clone https://github.com/matheusfrantz/tempirature.git - Create your feature branch:
git checkout -b feature/new-feature - Commit your changes:
git commit -m 'Add new feature' - Check the build:
npm run build - Push to the branch:
git push origin new-feature - Submit a pull request :D
1.0.0
4 years ago