{"id":23280128,"url":"https://github.com/platdesign/bipro","last_synced_at":"2026-05-15T20:32:21.871Z","repository":{"id":75611504,"uuid":"98913582","full_name":"platdesign/bipro","owner":"platdesign","description":"Binary protocol composer/parser","archived":false,"fork":false,"pushed_at":"2018-12-20T20:43:06.000Z","size":89,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-21T07:47:10.038Z","etag":null,"topics":["binary","js","nodejs","protocol"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/platdesign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-31T17:42:33.000Z","updated_at":"2024-07-05T20:08:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f0f1ffd-a974-4013-bfc9-3835ada263e2","html_url":"https://github.com/platdesign/bipro","commit_stats":{"total_commits":37,"total_committers":1,"mean_commits":37.0,"dds":0.0,"last_synced_commit":"e069e8f55578c6dfacd9ff74d04c7ed353f68fc5"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/platdesign/bipro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platdesign%2Fbipro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platdesign%2Fbipro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platdesign%2Fbipro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platdesign%2Fbipro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/platdesign","download_url":"https://codeload.github.com/platdesign/bipro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platdesign%2Fbipro/sbom","scorecard":{"id":737228,"data":{"date":"2025-08-11","repo":{"name":"github.com/platdesign/bipro","commit":"e069e8f55578c6dfacd9ff74d04c7ed353f68fc5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md: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":"Vulnerabilities","score":0,"reason":"28 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T16:12:59.018Z","repository_id":75611504,"created_at":"2025-08-22T16:12:59.018Z","updated_at":"2025-08-22T16:12:59.018Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["binary","js","nodejs","protocol"],"created_at":"2024-12-19T23:29:54.314Z","updated_at":"2026-05-15T20:32:21.854Z","avatar_url":"https://github.com/platdesign.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bipro\n\nBinary Protocol composer/parser\n\n\n# Install\n`npm i --save bipro`\n\n\n\n# Api\n\n### Protocol\n#### defineType(name, configOrParent, [configExtender])\n\n- **name** *(String)* Unique name/identifier for type *(e.g. uint8, char, byte)*\n- **configOrParent** *(Object | String)* String defines previous defined type for inheritance.\n\t\n\t- **compose(value, data, schema, protocol)** \t\n\tShould return an instance of `Buffer`. \n\t\n\t\t- **value** Value of attributes key in `data`.\n\t\t- **data** Whole composing data.\n\t\t- **schema** Attribute schema config line \n\t\t- **protocol** Current protocol instance\n\n\t\t\n\t- **parse(buffer, context, schema, protocol)**\tShould return parsed value or `null` if invalid.\n\n\t\t- **buffer** Raw buffer\n\t\t- **context** \n\t\t\t- **offset** Current cursor position during parse-process. \n\t\t- **schema** Attribute schema config line \n\t\t- **protocol** Current protocol instance\n\n\n\n\n\n#### defineMessage(name, config)\nDefines a messageType by given config.\n\n- **name** (`String`) Unique message name.\n- **config** (`Object`)\n\t- **schema** (`Array`) of Schema Objects\n\t\t- **key** (`String`) Name of payload attribute.\n\t\t- **type** (`String`) Name of type.\n\t\t- **default** (`Number`|`String`|`Array`) based on `type`\n\t\t- **static** (`Boolean`) Default: false\n\t\t- **required** (`Boolean`) Default: false\n\n#### compose(messageName, payload)\nReturns buffer for given payload.\n\n#### match(buffer) \nTakes a buffer and returns parsed data or `false` if no messageType matches.\n\n#### use(plugin, [options])\n\n\n\n\n### Message Schema\n\n- schema\n\n### Value Schema\n\n- key\n- type\n- static\n- default\n\n### Type Schema\n\n- compose(char, data, schema, protocol)\n- parse(buf, ctx, schema, protocol)\n\n\n\n\n## Default types\n\n- **int8**\n- **uint8**\n- **byte**\n- **char**\n- **int16le**\n- **int16be**\n- **uint16le**\n- **uint16be**\n- **shortle**\n- **shortbe**\n- **ushortle**\n- **ushortbe**\n- **int32le**\n- **int32be**\n- **uint32le**\n- **uint32be**\n- **longle**\n- **longbe**\n- **ulongle**\n- **ulongbe**\n- **array**\n\t\n\t- **items** (`String`|`Object`)\t\n\tSet custom item type. (e.g. string, char, ulongbe) Default is `uint8`\n\t\t- `String` Name of type\n\t\t- `Object` Schema options ({type: 'string', size:3})\n\t\n\t- **sizeType** (`String`)\t\n\tSet custom size type. Default is `uint8`\n\t\n\t- **size** (`Number`|`String`)\t\n\tSet custom/fixed size. Otherwise array-items will be prefixed with size-byte(s).\n\t\n\t\t- `Number` Used as fixed length. (No size byte(s) will be prefixed)\n\t\t- `String` Used as size-value getter. (No size byte(s) will be prefixed) \n\n- **string**\n\t- **size** (`Number`|`String`)\n\t\t- `Number` Used as fixed length. (No size byte(s) will be prefixed)\n\t\t- `String` Used as size-value getter. (No size byte(s) will be prefixed) \n\n\n\n#Author\n\nChristian Blaschke \u003cmail@platdesign.de\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatdesign%2Fbipro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplatdesign%2Fbipro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatdesign%2Fbipro/lists"}