Nostalgic Pizza Manager

    @makepad/rpi-monitor

    2.0.6 • Public • Published

    @makepad/rpi-monitor

    A basic Raspberry Pi monitoring functions

    Installation

    Use the package manager npm to install @makepad/rpi-monitor

    npm i @makepad/rpi-monitor

    Usage

    const rpi = require('@makepad/rpi-monitor');
    
    rpi.hostname; // Returns the hostname of the machine
    rpi.freeMemoryPercentage().then((result) => {
        // Returns the free memory percentage
    });
    rpi.cpuPercentage().then((result) => {
        // Returns the CPU percentage as a list for each core
    });
    rpi.temperature(); // Returns the temperature of the device

    Contributing

    Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

    Please make sure to update tests as appropriate.

    Install

    npm i @makepad/rpi-monitor

    DownloadsWeekly Downloads

    3

    Version

    2.0.6

    License

    MIT

    Unpacked Size

    5.52 kB

    Total Files

    6

    Last publish

    Collaborators

    • idilsaglam
    • kaanyagci