Socket
Book a DemoInstallSign in
Socket

pi-printemps

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pi-printemps

Get Raspberry Pi CPU+GPU temperatures

3.1.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

pi

FAQs

Package last updated on 01 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.