# isrpi

> RaspberryPI Check with parse board information

Latest version **1.0.1** (published 2020-12-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install isrpi
pnpm add isrpi
yarn add isrpi
bun add isrpi
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-12-22 |
| First published | 2020-12-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 0 |
| Unpacked size | 8.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hojin.jeong |
| Maintainers | map_side |
| Keywords | isrpi, raspberrypi, raspberry, pi, board information |

## Links

- npm: https://www.npmjs.com/package/isrpi
- Repository: https://github.com/hojin-jeong/isRPI
- Issues: https://github.com/hojin-jeong/isRPI/issues
- npm.io page: https://npm.io/package/isrpi

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-12-22
- 1.0.0 — 2020-12-22

## README

# isRPI
[![GitHub](https://img.shields.io/github/license/hojin-jeong/isRPI)](https://github.com/hojin-jeong/isRPI/blob/master/license.md)
[![npm](https://img.shields.io/npm/v/isrpi)](https://badge.fury.io/js/isrpi)

> RaspberryPI Check with parse board information. lightweight, no dependencies, pure javascript

# Quick Start

## Installation
```shell
npm install isrpi
```

## Basic Usage
```javascript
const isRPI = require("isrpi")

console.log(isRPI())
```

### Output

from Raspberry PI 3B
```json
{
  "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
```json
{
  "warrentyBit": "Warranty is intact",
  "revisionFlag": "new-style revision",
  "memorySize": "2GB",
  "manufacturer": "Sony UK",
  "processor": "BCM2711",
  "model": "4B",
  "revision": "1.1"
}
```

from PC
```json
false
```

---
_Source: https://npm.io/package/isrpi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
