{"id":22770298,"url":"https://github.com/edamghy/react-component-generator","last_synced_at":"2026-04-14T06:02:58.067Z","repository":{"id":57203606,"uuid":"460827843","full_name":"EDAMGHY/react-component-generator","owner":"EDAMGHY","description":"com-react is a React-Component-Generator that generates a file with An Arrow Function Component for React","archived":false,"fork":false,"pushed_at":"2022-02-25T14:48:48.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T23:43:55.023Z","etag":null,"topics":["cli","com-react","command-line","command-line-tool","component","component-generator","generator","react","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/EDAMGHY.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}},"created_at":"2022-02-18T11:34:20.000Z","updated_at":"2022-02-18T11:50:42.000Z","dependencies_parsed_at":"2022-09-17T14:52:51.464Z","dependency_job_id":null,"html_url":"https://github.com/EDAMGHY/react-component-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EDAMGHY/react-component-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDAMGHY%2Freact-component-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDAMGHY%2Freact-component-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDAMGHY%2Freact-component-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDAMGHY%2Freact-component-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EDAMGHY","download_url":"https://codeload.github.com/EDAMGHY/react-component-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDAMGHY%2Freact-component-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266720469,"owners_count":23973980,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cli","com-react","command-line","command-line-tool","component","component-generator","generator","react","reactjs"],"created_at":"2024-12-11T15:30:36.726Z","updated_at":"2026-04-14T06:02:53.036Z","avatar_url":"https://github.com/EDAMGHY.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Com-React\n\ncom-react is a React-Component-Generator that generates a file with An Arrow Function Component for React\n\n(on NPM: [com-react](https://www.npmjs.com/package/com-react))\n\n## Quick Installation:\n\n### NPM (Globally)\n\n```\nnpm install -g com-react\n```\n\n#### or (Locally)\n\n```\nnpx com-react\n```\n\nOnce You have installed **com-react** you can use it from anywhere in your PC.\nRun the following command to make sure that you have the latest version\n\n```\ncom-react --version\n```\n\n#### or\n\n```\ncom-react -V\n```\n\n## How to Use\n\nYou can run **com-react** from the root of your application using\n\n```\ncom-react \u003cFileName\u003e\n```\n\n#### or\n\n```\ncom-react \u003cFolderName\u003e/\u003cFoldersName\u003e \u003cFileName\u003e\n```\n\n## Examples\n\n```\ncom-react card\n```\n\nThis command will generate a `Card.js` File and Open It. inside the `src/` folder of the react project.\n\n---\n\n```\ncom-react components card\n```\n\nThis command creates a file named `Card.js` inside the `components/` folder all of this will be inside the `src/` folder. It also supports nested folders like\n\n```\ncom-react components/cards card\n```\n\n---\n\n## Note\n\nWhen the File generates it will be automatically opened in the vscode IDE. \u003cbr/\u003e\nOther IDE or Text Editors not supported yet.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedamghy%2Freact-component-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedamghy%2Freact-component-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedamghy%2Freact-component-generator/lists"}