Skip to content

hojin-jeong/isRPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

RaspberryPI Check with parse board information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published