3.1.0 • Published 3 years ago

pi-printemps v3.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Pi Printemps

Print the temps (temperature readings) for Raspberry Pi.

Created in spring 2021, hence the pun.

Also prints out more stats:

  • Core voltage
  • ARM clock speed (normally 1500Mhz, i.e. 1.5Ghz)
  • GPU clock speed (normally 500Mhz)
  • Throttle state

Usage in your project

Install

npm i pi-printemps

Import as a module

import { getTemps } from "pi-printemps"

or using require

const { getTemps } = require("pi-printemps")

Run async

Simple example

const { gpu, cpu } = await getTemps();

CLI tool

You can also run a simple script straight from the command-line (NodeJS must still be installed on your system, of course):

Install globally (optional)

npm install -g pi-printemps

then just run:

printemps

Run using npx (no install needed!)

Just run:

npx pi-printemps
3.1.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago