# rpi-temp

> get rpi cpu temp

Latest version **1.0.3** (published 2018-06-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install rpi-temp
pnpm add rpi-temp
yarn add rpi-temp
bun add rpi-temp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-06-17 |
| First published | 2018-06-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | emre monun |
| Maintainers | emmo30 |
| Keywords | rpi, monitoring, temp, temperature, emre, monun |

## Links

- npm: https://www.npmjs.com/package/rpi-temp
- npm.io page: https://npm.io/package/rpi-temp

## Recent versions

- 1.0.3 (latest) — 2018-06-17
- 1.0.2 — 2018-06-17
- 1.0.1 — 2018-06-17
- 1.0.0 — 2018-06-17

## README

# Rpi-Temp

-  [Install](#install)
-  [Description](#description)
-  [API](#api)
-  [How to use](#how-to-use)

## Install

```sh
$ npm i rpi-temp
```

## Description

Get Temperature of CPU in Celsius, Fahrenheit or Kelvin

## API

| Functions | Arguments |
|--|--|
| getCelsius() | callback(err, stdoutpu, stderror), decimal INT |
| getFahrenheit() |callback(err, stdoutput, stderror), decimal INT |
| getKelvin() |callback(err, stdoutput, stderror), decimal INT |


## How to use

```js
var  rpiTemp  =  require('rpi-temp');

//callback method
rpiTemp.getCelsuis(function(error,output,stderr){
    console.log(output + " C");
})


//specify decimal
rpiTemp.getCelsuis(function(error,output,stderr){
    console.log(output + " C");
}, 2);
```

---
_Source: https://npm.io/package/rpi-temp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
