isrpi
v1.0.1
Published
RaspberryPI Check with parse board information
Downloads
3
Maintainers
Readme
isRPI
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