Socket
Socket
Sign inDemoInstall

raspberry-info

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    raspberry-info

A module that turns possible getting information from Raspberry components such as GPU temperature and CPU temperature, etc.


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

raspberry-info NPM version Build Status Dependency Status

A module that turns possible to know information about some resource from Raspberry sources (Linux only).

Installation

$ npm install --save raspberry-info

Usage

const raspiInfo = require('raspberry-info');

// Get current time and Host
raspiInfo.getCurrentTimeAndHost().then(output => console.log(output));
// qui set  6 16:50:57 -03 2018 @ host

// Get GPU temperature
raspiInfo.getGPUTemperature().then(output => console.log(output));
// 39.7'C

// Get CPU temperature
raspiInfo.getCPUTemperature().then(output => console.log(output));
// 40.2'C

License

MIT © Wenderson Pires

Keywords

FAQs

Last updated on 07 Sep 2018

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc