{"id":30046735,"url":"https://github.com/nickshiro/bind-props","last_synced_at":"2026-04-16T19:03:01.468Z","repository":{"id":304643606,"uuid":"1019493871","full_name":"nickshiro/bind-props","owner":"nickshiro","description":"type-safety functional component props binding","archived":false,"fork":false,"pushed_at":"2025-07-14T13:17:22.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-14T10:27:25.822Z","etag":null,"topics":["biome","bun","npm-package","react","solid","turbo"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickshiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-07-14T12:11:56.000Z","updated_at":"2025-07-14T13:09:13.000Z","dependencies_parsed_at":"2025-07-14T13:47:44.603Z","dependency_job_id":"54def4f1-f600-4428-8154-e1b65300f513","html_url":"https://github.com/nickshiro/bind-props","commit_stats":null,"previous_names":["nickshiro/bind-props"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nickshiro/bind-props","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickshiro%2Fbind-props","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickshiro%2Fbind-props/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickshiro%2Fbind-props/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickshiro%2Fbind-props/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickshiro","download_url":"https://codeload.github.com/nickshiro/bind-props/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickshiro%2Fbind-props/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31899986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["biome","bun","npm-package","react","solid","turbo"],"created_at":"2025-08-07T08:53:47.308Z","updated_at":"2026-04-16T19:03:01.448Z","avatar_url":"https://github.com/nickshiro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React example\n\n```tsx\nimport type { FC } from \"react\";\nimport clsx from \"clsx\";\nimport bindProps from \"bind-props-react\";\n\ninterface ButtonProps {\n    color: \"red\" | \"blue\";\n    onClick: () =\u003e void;\n}\n\nconst Button: FC\u003cButtonProps\u003e = ({ color, ...props }) =\u003e {\n    const classes = clsx(\n        \"rounded-lg\",\n        color === \"red\" ? \"bg-red-200\" : \"bg-blue-200\"\n    );\n    return \u003cbutton className={classes} {...props} /\u003e;\n};\n\nconst RedButton = bindProps(Button, { color: \"red\" });\n\nexport const App = () =\u003e {\n    return (\n        \u003cdiv\u003e\n            \u003cRedButton onClick={() =\u003e console.log(\"Red button clicked!\")} /\u003e\n        \u003c/div\u003e\n    );\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickshiro%2Fbind-props","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickshiro%2Fbind-props","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickshiro%2Fbind-props/lists"}