{"id":8393862,"name":"react-switch-casu","ecosystem":"npm","description":"Conditional rendering in React works the same way conditions work in JavaScript. Stop using JavaScript operators like if or ternary conditional operators to create elements that represent the current state and let `react-switch-casu` take care of updating","homepage":"https://react-switch-casu.netlify.com","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/lac617a/react-switch-casu","keywords_array":["react","expression","switch-case","react-switch-casu","Conditional Rendering","conditional-rendering"],"namespace":null,"versions_count":3,"first_release_published_at":"2023-10-07T17:54:15.284Z","latest_release_published_at":"2023-10-10T13:13:22.310Z","latest_release_number":"1.0.0","last_synced_at":"2026-07-20T21:02:39.387Z","created_at":"2023-10-07T17:54:20.660Z","updated_at":"2026-09-21T21:31:36.438Z","registry_url":"https://www.npmjs.com/package/react-switch-casu","install_command":"npm install react-switch-casu","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.0"}},"repo_metadata":{"id":198931688,"uuid":"701840476","full_name":"lac617a/react-switch-casu","owner":"lac617a","description":"Conditional rendering in React works the same way conditions work in JavaScript. Stop using JavaScript operators like if or ternary conditional operators to create elements that represent the current state and let `react-switch-casu` take care of updating the UI to match them.","archived":false,"fork":false,"pushed_at":"2023-10-10T13:20:46.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-09-07T12:19:30.582Z","etag":null,"topics":["conditional-rendering","react","reactjs","switch","switch-case","ternary-operator"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lac617a.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-07T18:00:55.000Z","updated_at":"2023-10-14T21:05:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a0c9c7b-6e4f-46fe-add7-cbd3585dfc58","html_url":"https://github.com/lac617a/react-switch-casu","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"e211ae370d9003ecbe1a21eaa9b352938cc93e03"},"previous_names":["lac617a/react-switch-casu"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lac617a/react-switch-casu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lac617a","download_url":"https://codeload.github.com/lac617a/react-switch-casu/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37574062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-21T02:00:06.232Z","response_time":53,"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"},"owner_record":{"login":"lac617a","name":"Dominyel Rvr #Yoydev","uuid":"55897374","kind":"user","description":"Todo depende de ti, si quieres o no seguir con esto","email":"","website":"https://lac617a.github.io","location":"colombia-bucaramanga","twitter":null,"company":"@ALAXA-TECH","icon_url":"https://avatars.githubusercontent.com/u/55897374?u=c7363025c0c9945f169d6f3dfc57fc2191d215a0\u0026v=4","repositories_count":3,"last_synced_at":"2023-03-10T10:37:16.748Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/lac617a","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-20T09:19:35.428Z","updated_at":"2023-03-10T10:37:16.759Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lac617a","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lac617a/repositories"},"tags":[{"name":"v1.0.0","sha":"e211ae370d9003ecbe1a21eaa9b352938cc93e03","kind":"commit","published_at":"2023-10-10T13:16:50.000Z","download_url":"https://codeload.github.com/lac617a/react-switch-casu/tar.gz/v1.0.0","html_url":"https://github.com/lac617a/react-switch-casu/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lac617a/react-switch-casu@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/tags/v1.0.0/manifests"},{"name":"v0.1.0","sha":"5068102c3f1e1874b7aeadf3bd963433cd0603ba","kind":"commit","published_at":"2023-10-07T18:01:17.000Z","download_url":"https://codeload.github.com/lac617a/react-switch-casu/tar.gz/v0.1.0","html_url":"https://github.com/lac617a/react-switch-casu/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lac617a/react-switch-casu@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-09-21T21:31:36.438Z","dependent_packages_count":0,"downloads":15,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":37.324506158686745,"dependent_packages_count":53.254127963804684,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":45.28931706124571},"purl":"pkg:npm/react-switch-casu","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-switch-casu","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-switch-casu","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-switch-casu/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T20:52:08.385Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/lac617a%2Freact-switch-casu/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch-casu/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch-casu/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch-casu/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch-casu/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch-casu/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch-casu/codemeta","maintainers":[{"uuid":"yoydev","login":"yoydev","name":null,"email":"botlacrita617@gmail.com","url":null,"packages_count":10,"html_url":"https://www.npmjs.com/~yoydev","role":null,"created_at":"2023-10-07T17:55:50.065Z","updated_at":"2023-10-07T17:55:50.065Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/yoydev/packages"}]}