1.0.1 • Published 4 years ago

isrpi v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

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