1.0.6 • Published 11 months ago

node-librehardwaremonitor v1.0.6

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
11 months ago

node-librehardwaremonitor

A NodeJS library based on LibreHardwareMonitor for obtaining computer hardware information.

Installing

npm

npm i node-librehardwaremonitor

yarn

yarn add node-librehardwaremonitor

Usage

typescript

import librehardwaremonitor from "node-librehardwaremonitor";

setInterval(async ()=>{
    const result = await librehardwaremonitor.getHardwareMessage();
    console.log(result);
}, 1000)

javascript

const librehardwaremonitor = require("node-librehardwaremonitor");

setInterval(async ()=>{
    const result = await librehardwaremonitor.getHardwareMessage();
    console.log(result);
}, 1000)

API

getHardwareMessage()

Used to obtain information about computer hardware.

setFanSpeed(fanName: string, speed: number)

Used to set the speed of the fan. The value of speed is speedThe percentage of full speed of the fan.

1.0.6

11 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago