cputemp

0.0.1 • Public • Published

cpu

module to get cpu temperature from sysfs

Installation

npm install cpu

Usage

define and export env variables defined in .env

get cpu temperature

cpu = require 'cputemp'

cpu
  .temp()
  .then console.log, console.log

publish cpu temperature to defined mqtt topic

cpu = require 'cputemp'

cpu.pub()

Dependencies (5)

Dev Dependencies (1)

Package Sidebar

Install

npm i cputemp

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • twhtanghk