{"id":13521405,"url":"https://github.com/sandeepmistry/node-chip-io","last_synced_at":"2025-10-11T15:08:58.367Z","repository":{"id":52959463,"uuid":"49330554","full_name":"sandeepmistry/node-chip-io","owner":"sandeepmistry","description":"Johnny-Five IO Plugin for the Next Thing Co. C.H.I.P.","archived":false,"fork":false,"pushed_at":"2017-06-18T13:51:58.000Z","size":220,"stargazers_count":95,"open_issues_count":11,"forks_count":25,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-08-21T02:23:04.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sandeepmistry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-01-09T15:57:23.000Z","updated_at":"2025-04-20T09:39:31.000Z","dependencies_parsed_at":"2022-08-24T11:31:16.588Z","dependency_job_id":null,"html_url":"https://github.com/sandeepmistry/node-chip-io","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/sandeepmistry/node-chip-io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepmistry%2Fnode-chip-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepmistry%2Fnode-chip-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepmistry%2Fnode-chip-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepmistry%2Fnode-chip-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandeepmistry","download_url":"https://codeload.github.com/sandeepmistry/node-chip-io/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepmistry%2Fnode-chip-io/sbom","scorecard":{"id":798949,"data":{"date":"2025-08-11","repo":{"name":"github.com/sandeepmistry/node-chip-io","commit":"6cd4c8c2d3a4a37440b960c6d5c86ba945850533"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 7/25 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T09:51:50.077Z","repository_id":52959463,"created_at":"2025-08-23T09:51:50.078Z","updated_at":"2025-08-23T09:51:50.078Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007601,"owners_count":26084333,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-08-01T06:00:33.987Z","updated_at":"2025-10-11T15:08:58.336Z","avatar_url":"https://github.com/sandeepmistry.png","language":"JavaScript","funding_links":[],"categories":["Libraries and Plugins"],"sub_categories":["IO Compatibility Plugins"],"readme":"# chip-io\n\n![logo](images/CHIP-J5.png)\n\n[Johnny-Five](https://github.com/rwaldron/johnny-five) [IO Plugin](https://github.com/rwaldron/io-plugins) for the [Next Thing Co.](http://nextthing.co/index.html) [C.H.I.P.](http://getchip.com)\n\n## Prerequisites\n\n * Next Thing Co. [C.H.I.P.](http://getchip.com) board\n * Node.js installed\n   1. Install ```curl```: ```sudo apt-get install curl```\n   2. Follow Debian section of [NodeSource installations instructions](https://github.com/nodesource/distributions#debinstall)\n * Build essential installed: ```sudo apt-get install build-essential```\n * Add ```chip``` user to ```i2c``` group: ```sudo adduser chip i2c```\n\n__NOTE:__ Some GPIO pins require `root` or `sudo`.\n\n## Getting Started\n\n```sh\nnpm install chip-io johnny-five\n```\n\n__NOTE:__ Must be run on the C.H.I.P. itself.\n\n## Boilerplate Program\n\n```javascript\nvar five = require('johnny-five');\nvar chipio = require('chip-io');\n\nvar board = new five.Board({\n  io: new chipio()\n});\n\nboard.on('ready', function() {\n  // do Johnny-Five stuff\n});\n```\n\n## Examples\n\nSee [examples](examples) folder as well as [Johnny-Five examples](http://johnny-five.io/examples/).\n\n## API\n\nSee  [Johnny-Five API docs](http://johnny-five.io/api/).\n\n## Pin Guide\n\n| Johnny-Five Compatible Name | Number | Supported Modes | Requires root or sudo | Info |\n| --------------------------- | :----: | --------------- | :-------------------: | ---- |\n| LCD-D2 | 17 | Input | ✓ |  |\n| PWM0 | 18 | Input, Output, PWM | ✓ |  |\n| LCD-D4 | 19 | Input, Output | ✓ |  |\n| LCD-D3 | 20 | Input, Output | ✓ |  |\n| LCD-D6 | 21 | Input, Output | ✓ |  |\n| LCD-D5 | 22 | Input, Output | ✓ |  |\n| LCD-D10 | 23 | Input, Output | ✓ |  |\n| LCD-D7 | 24 | Input, Output | ✓ |  |\n| LCD-D12 | 25 | Input, Output | ✓ |  |\n| LCD-D11 | 26 | Input, Output | ✓ |  |\n| LCD-D14 | 27 | Input, Output | ✓ |  |\n| LCD-D13 | 28 | Input, Output | ✓ |  |\n| LCD-D18 | 29 | Input, Output | ✓ |  |\n| LCD-D15 | 30 | Input, Output | ✓ |  |\n| LCD-D20 | 31 | Input, Output | ✓ |  |\n| LCD-D19 | 32 | Input, Output | ✓ |  |\n| LCD-D22 | 33 | Input, Output | ✓ |  |\n| LCD-D21 | 34 | Input, Output | ✓ |  |\n| LCD-CLK | 35 | Input, Output | ✓ |  |\n| LCD-D23 | 36 | Input, Output | ✓ |  |\n| LCD-VSYNC | 37 | Input, Output | ✓ |  |\n| LCD-HSYNC | 38 | Input, Output | ✓ |  |\n| LCD-DE | 40 | Input, Output | ✓ |  |\n| LRADC | 51 | Analog | ✓ |  |\n| XIO-P0 | 53 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| XIO-P1 | 54 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| XIO-P2 | 55 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| XIO-P3 | 56 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| XIO-P4 | 57 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| XIO-P5 | 58 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| XIO-P6 | 59 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| XIO-P7 | 60 | Input, Output |  | Connected to the built-in PCF8574A IO extender |\n| CSIPCK | 67 | Input | ✓ |  |\n| CSICK | 68 | Input | ✓ |  |\n| CSIHSYNC | 69 | Input | ✓ |  |\n| CSIVSYNC | 70 | Input, Output | ✓ |  |\n| CSID0 | 71 | Input, Output | ✓ |  |\n| CSID1 | 72 | Input, Output | ✓ |  |\n| CSID2 | 73 | Input, Output | ✓ |  |\n| CSID3 | 74 | Input, Output | ✓ |  |\n| CSID4 | 75 | Input, Output | ✓ |  |\n| CSID5 | 76 | Input, Output | ✓ |  |\n| CSID6 | 77 | Input, Output | ✓ |  |\n| CSID7 | 78 | Input, Output | ✓ |  |\n| I2C | | I2C | | Uses I2C port 2 (TWI2-SCK and TWI2-SDA). Address 0x38 is used by the built-in PCF8574A IO extender |\n\n![C.H.I.P. pinouts](http://docs.getchip.com/images/chip_pinouts.jpg)\n\n## Additional Features\n\n| Type | Usage | Johnny-Five type | Notes |\n| ---- | ----- | ---------------- | ----- |\n| Battery Voltage | `new chipio.BatteryVoltage();` | [five.Sensor](http://johnny-five.io/api/sensor/) | Reads battery voltage from the AXP209 |\n| Internal Temperature | `new chipio.InternalTemperature();` | [five.Thermometer](http://johnny-five.io/api/thermometer/) | Reads internal temperature from the AXP209 |\n| Onboard Button | `new chipio.OnboardButton();` | [five.Button](http://johnny-five.io/api/button/) | Use onboard button (beside `LCD-DE` pin) connected to the AXP209 |\n| Status LED | `new chipio.StatusLed;` | [five.Led](http://johnny-five.io/api/led/) | Controls status LED connected to GPIO2 on the AXP209 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandeepmistry%2Fnode-chip-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandeepmistry%2Fnode-chip-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandeepmistry%2Fnode-chip-io/lists"}