{"id":25620796,"url":"https://github.com/codewell/component-map","last_synced_at":"2025-10-14T13:08:20.108Z","repository":{"id":56230715,"uuid":"234057106","full_name":"codewell/component-map","owner":"codewell","description":"Higher order React component that maps out other components.","archived":false,"fork":false,"pushed_at":"2025-09-10T18:00:14.000Z","size":1231,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T13:07:58.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/codewell.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":"2020-01-15T10:36:00.000Z","updated_at":"2020-11-19T09:51:43.000Z","dependencies_parsed_at":"2022-08-15T15:01:12.288Z","dependency_job_id":null,"html_url":"https://github.com/codewell/component-map","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/codewell/component-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcomponent-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcomponent-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcomponent-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcomponent-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewell","download_url":"https://codeload.github.com/codewell/component-map/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcomponent-map/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018700,"owners_count":26086604,"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-14T02:00:06.444Z","response_time":60,"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":"2025-02-22T07:28:04.254Z","updated_at":"2025-10-14T13:08:20.091Z","avatar_url":"https://github.com/codewell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @codewell/component-map\n\n## Installation\n\n```\nnpm install @codewell/component-map\n```\n\n## Basic Usage\n\n```JSX\nimport ComponentMap from '@codewell/component-map';\n\nconst Foo = ({ name, commonProp1 }) =\u003e (\n  \u003cdiv\u003e\n    {name} foo - {commonProp1}\n  \u003c/div\u003e\n);\n\n\u003cComponentMap\n  // Component that should be mapped\n  component={Foo}\n\n  // Array with properties for each\n  // mapped child\n  data={[{ name: \"hello\" }, { name: \"world\" }]}\n\n  // Common properties shared among all\n  // the children e.g. state, dispatch\n  // and callback functions like onClick\n  commonProperties={{\n    commonProp1: \"commonProp1\",\n  }}\n\n  // Each react child should have a unique\n  // key prop\n  keyFunction={(props, index) =\u003e props.name}\n/\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Fcomponent-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewell%2Fcomponent-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Fcomponent-map/lists"}