{"id":22382446,"url":"https://github.com/jcoreio/iron-pi-ipc-codec","last_synced_at":"2025-07-20T17:32:55.505Z","repository":{"id":33660043,"uuid":"157278452","full_name":"jcoreio/iron-pi-ipc-codec","owner":"jcoreio","description":"Encodes and decodes SPI bus messages exchanged with the Iron Pi","archived":false,"fork":false,"pushed_at":"2022-12-09T12:44:56.000Z","size":3253,"stargazers_count":0,"open_issues_count":23,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T05:21:24.600Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcoreio.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-11-12T21:20:45.000Z","updated_at":"2019-08-29T16:49:54.000Z","dependencies_parsed_at":"2023-01-15T01:53:47.998Z","dependency_job_id":null,"html_url":"https://github.com/jcoreio/iron-pi-ipc-codec","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/jcoreio/iron-pi-ipc-codec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Firon-pi-ipc-codec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Firon-pi-ipc-codec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Firon-pi-ipc-codec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Firon-pi-ipc-codec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcoreio","download_url":"https://codeload.github.com/jcoreio/iron-pi-ipc-codec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Firon-pi-ipc-codec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266165710,"owners_count":23886668,"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":[],"created_at":"2024-12-05T00:13:03.065Z","updated_at":"2025-07-20T17:32:55.414Z","avatar_url":"https://github.com/jcoreio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iron Pi IPC Codec\n\nEncodes and decodes messages exchanged over UNIX sockets with the Iron Pi SPI handler\n\n## Getting Started\n\n```\nnpm install --save @jcoreio/iron-pi-ipc-codec\n```\n\n## Example\n\n```js\n\nimport IronPiIPCCodec from './index'\nimport type {SetOutputs} from './index'\n\nconst codec: IronPiIPCCodec = new IronPiIPCCodec()\n\nconst setOutputs: SetOutputs = {\n  outputs: [\n    {\n      address: 1,\n      levels: [true, false, true, false],\n    },\n    {\n      address: 2,\n      levels: [true, true, true, true, false, false, false, false],\n    }\n  ]\n}\nconst buf: Buffer = codec.encodeSetOutputs(setOutputs)\nconst msgOut = codec.decodeMessageToDriver(buf)\n// msgOut = {setOutputs: {outputs: [ ... ]}}\n\n```\n\n## License\n\n [Apache-2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcoreio%2Firon-pi-ipc-codec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcoreio%2Firon-pi-ipc-codec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcoreio%2Firon-pi-ipc-codec/lists"}