# Rpi version

[![Version](https://img.shields.io/npm/v/rpi-version.svg)](https://www.npmjs.com/package/rpi-version)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT)

Detect current RPI revision (from CPU infos [raspberrypi-spy.co.uk](http://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/) )
List of additional revisions found [on wikipedia](https://fr.wikipedia.org/wiki/Raspberry_Pi#Identification_des_diff.C3.A9rents_mod.C3.A8les_de_Raspberry_.28en_compl.C3.A9ment_.C3.A0_ci-dessus.29)


# API
```
var model = require('rpi-version')();
//return current RPI model OR undefined
```


# Credits
* [idjem](https://github.com/idjem)
* [131](https://github.com/131)
