Rpi version
Detect current RPI revision (from CPU infos raspberrypi-spy.co.uk ) List of additional revisions found on wikipedia
API
var model = require('rpi-version')();
//return current RPI model OR undefined
Detect current RPI revision (from CPU infos raspberrypi-spy.co.uk ) List of additional revisions found on wikipedia
var model = require('rpi-version')();
//return current RPI model OR undefined
npm i rpi-version
30
1.4.3
ISC
2.82 kB
3