{"id":15011282,"url":"https://github.com/pbertie/inkyphat-node","last_synced_at":"2025-08-20T08:32:48.282Z","repository":{"id":38420439,"uuid":"117290249","full_name":"pbertie/inkyphat-node","owner":"pbertie","description":"NodeJS Module to control Inky pHAT on Raspberry Pi (e-Paper Screen).","archived":false,"fork":false,"pushed_at":"2024-09-11T21:38:27.000Z","size":1394,"stargazers_count":33,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-15T12:11:31.395Z","etag":null,"topics":["e-paper","epaper-screen","inky","node","node-js","node-module","nodejs","nodejs-modules","phat","pimoroni","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/inkyphat","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pbertie.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":"2018-01-12T21:36:53.000Z","updated_at":"2023-03-15T13:12:39.000Z","dependencies_parsed_at":"2023-02-03T14:00:53.529Z","dependency_job_id":null,"html_url":"https://github.com/pbertie/inkyphat-node","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbertie%2Finkyphat-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbertie%2Finkyphat-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbertie%2Finkyphat-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbertie%2Finkyphat-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbertie","download_url":"https://codeload.github.com/pbertie/inkyphat-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230408170,"owners_count":18220974,"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":["e-paper","epaper-screen","inky","node","node-js","node-module","nodejs","nodejs-modules","phat","pimoroni","raspberry-pi"],"created_at":"2024-09-24T19:40:13.145Z","updated_at":"2024-12-19T09:07:31.982Z","avatar_url":"https://github.com/pbertie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inkyphat\n[![Build Status](https://travis-ci.org/pbertie/inkyphat-node.svg?branch=master)](https://travis-ci.org/pbertie/inkyphat-node) [![Coverage Status](https://coveralls.io/repos/github/pbertie/inkyphat-node/badge.svg?branch=master)](https://coveralls.io/github/pbertie/inkyphat-node?branch=master) [![dependencies Status](https://david-dm.org/pbertie/inkyphat/status.svg)](https://david-dm.org/pbertie/inkyphat) [![devDependencies Status](https://david-dm.org/pbertie/inkyphat/dev-status.svg)](https://david-dm.org/pbertie/inkyphat?type=dev) [![npm version](https://img.shields.io/npm/v/inkyphat.svg)](https://www.npmjs.com/package/inkyphat) [![npm downloads](https://img.shields.io/npm/dt/inkyphat.svg)](https://www.npmjs.com/package/inkyphat)\n\nA NodeJS Module to allow you to control the Inkyphat for Raspberry Pi. Based on the Python code available from [Pimoroni](https://github.com/pimoroni/inky-phat).\n\n## Installation\n\n  `npm install inkyphat`\n\n## Usage\n\n```js\nconst inkyphat = require('inkyphat')();\n\nasync function main() {\n\n  await inkyphat.init();\n\n  inkyphat.setPixel(1, 5, inkyphat.RED);\n\n  inkyphat.drawRect(50, 100, inkyphat.BLACK);\n\n  await inkyphat.redraw();\n\n  await inkyphat.destroy();\n}\nmain();\n```\n\n\n## Tests\n\n  `npm test` - Run Tests.\n\n  `npm run coverage` - Run Tests and display coverage.\n\n  `npm run lint` - Run ES Lint\n\n## Contributing\n\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbertie%2Finkyphat-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbertie%2Finkyphat-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbertie%2Finkyphat-node/lists"}