isrpi

1.0.1 • Public • Published

isRPI

GitHub npm

RaspberryPI Check with parse board information. lightweight, no dependencies, pure javascript

Quick Start

Installation

npm install isrpi

Basic Usage

const isRPI = require("isrpi")

console.log(isRPI())

Output

from Raspberry PI 3B

{
  "warrentyBit": "Warranty has been voided by overclocking",
  "revisionFlag": "new-style revision",
  "memorySize": "1GB",
  "manufacturer": "Sony UK",
  "processor": "BCM2837",
  "model": "3B",
  "revision": "1.2"
}

from Raspberry PI 4

{
  "warrentyBit": "Warranty is intact",
  "revisionFlag": "new-style revision",
  "memorySize": "2GB",
  "manufacturer": "Sony UK",
  "processor": "BCM2711",
  "model": "4B",
  "revision": "1.1"
}

from PC

false

/isrpi/

    Package Sidebar

    Install

    npm i isrpi

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    8.28 kB

    Total Files

    6

    Last publish

    Collaborators

    • map_side