# snsr

> lm-sensors data

Latest version **0.0.1** (published 2018-08-22) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install snsr
pnpm add snsr
yarn add snsr
bun add snsr
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-08-22 |
| First published | 2018-08-22 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | yetzt |
| Maintainers | yetzt |
| Keywords | sensors, lm-sensors, sensor, cpu, linux, temperatures |

## Links

- npm: https://www.npmjs.com/package/snsr
- Repository: https://github.com/yetzt/node-snsr
- Homepage: https://github.com/yetzt/node-snsr#readme
- Issues: https://github.com/yetzt/node-snsr/issues
- npm.io page: https://npm.io/package/snsr

## Dependencies (1)

- [command-exists](https://npm.io/package/command-exists.md) ^1.2.7

## Recent versions

- 0.0.1 (latest) — 2018-08-22

## README

# snsr

snsr provides sensor data from [lm-sensors](https://github.com/lm-sensors/lm-sensors).

## usage

``` javascript

var sensors = require("snsr");

sensors(function(err, data){
	console.log(data);
});

```

## format

`data` is an array which of each element holds all values of one sensor.

``` javascript
[{
	_chip: 'nct6779-isa-0290',
	_sensor: 'SYSTIN',
	_type: 'temp',
	_num: 1,
	input: 18,
	max: 0,
	max_hyst: 0,
	alarm: 1,
	type: 4,
	offset: 0,
	beep: 0 
},{
	_chip: 'nct6779-isa-0290',
	_sensor: 'CPUTIN',
	_type: 'temp',
	_num: 2,
	input: 19,
	max: 80,
	max_hyst: 75,
	alarm: 0,
	type: 4,
	offset: 0,
	beep: 0 
}, ... ]
```

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