{"id":16526069,"url":"https://github.com/jcane86/raspi-ver","last_synced_at":"2025-10-28T08:32:17.433Z","repository":{"id":54942293,"uuid":"82235385","full_name":"jcane86/raspi-ver","owner":"jcane86","description":"Check your rpi board version and other bits programatically in node.","archived":false,"fork":false,"pushed_at":"2021-01-20T07:14:57.000Z","size":23,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-01T13:22:29.770Z","etag":null,"topics":["node","node-js","nodejs","raspberry","raspberry-pi","raspberry-pi-nodejs","raspberrypi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcane86.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-16T23:14:18.000Z","updated_at":"2021-01-31T22:51:01.000Z","dependencies_parsed_at":"2022-08-14T07:10:29.043Z","dependency_job_id":null,"html_url":"https://github.com/jcane86/raspi-ver","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcane86%2Fraspi-ver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcane86%2Fraspi-ver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcane86%2Fraspi-ver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcane86%2Fraspi-ver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcane86","download_url":"https://codeload.github.com/jcane86/raspi-ver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219859903,"owners_count":16556031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node","node-js","nodejs","raspberry","raspberry-pi","raspberry-pi-nodejs","raspberrypi"],"created_at":"2024-10-11T17:25:53.775Z","updated_at":"2025-10-28T08:32:17.119Z","avatar_url":"https://github.com/jcane86.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RasPi-Ver [![npm version](https://badge.fury.io/js/raspi-ver.svg)](https://badge.fury.io/js/raspi-ver)[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)[![Build Status](https://secure.travis-ci.org/jcane86/raspi-ver.png)](http://travis-ci.org/jcane86/raspi-ver)\n\n\u003e A quick programatic check for your Raspberry Pi board revision, memory and other bits.\n\n\n## Installation\n\n`npm install --save-dev raspi-ver`\n\n## Usage\n\n Require in your own modules, and directly access the exposed properties.\n \n    let rpi = require('raspi-ver');\n \n    if (rpi.model === \"Model B\") {\n \n        console.log(\"PROFIT\");\n \n    }\n \n## API\n\nThe exposed properties of the module.\n\n * rpi.revision: Your board's hardware revision code.\n * rpi.relDate: The model's release date. A sting of the format (\"Q1 2016\").\n * rpi.model: Your board's model name. A string like \"Model B\".\n * rpi.PCBRev: Your board's hardware revision. A string like \"1.0\".\n * rpi.memory: Your board's shipped memory. A string like \"256 MB\".\n * rpi.notes: Your board's manufacturer or any other random trivia.\n\n\n## Acknowledgement\n\nAll the info returned by the module was taken from [elinux.org](http://elinux.org/RPi_HardwareHistory#Board_Revision_History) and [raspberrypi.org](https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md). Thank you!\n\n## LICENSE\n\n(MIT License)\n\nCopyright (c) 2017 jcane86 \u003cjcane86@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcane86%2Fraspi-ver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcane86%2Fraspi-ver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcane86%2Fraspi-ver/lists"}