{"id":2269930,"name":"react-rcswitch","ecosystem":"npm","description":"Switch ui component for react","homepage":"https://github.com/gianiaz/switch","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/gianiaz/switch","keywords_array":["react","react-component","react-switch","switch"],"namespace":null,"versions_count":10,"first_release_published_at":"2016-09-07T04:54:08.481Z","latest_release_published_at":"2016-09-07T13:09:24.450Z","latest_release_number":"1.6.0","last_synced_at":"2026-05-08T15:01:53.060Z","created_at":"2022-04-09T23:24:17.214Z","updated_at":"2026-05-08T15:01:53.060Z","registry_url":"https://www.npmjs.com/package/react-rcswitch","install_command":"npm install react-rcswitch","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.5.8"}},"repo_metadata":{"id":57343106,"uuid":"67570668","full_name":"gianiaz/switch","owner":"gianiaz","description":"React Switch","archived":false,"fork":true,"pushed_at":"2016-09-07T13:24:44.000Z","size":504,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T10:18:01.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"react-component/switch","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gianiaz.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","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":"2016-09-07T04:01:59.000Z","updated_at":"2016-10-21T19:26:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gianiaz/switch","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/gianiaz/switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianiaz","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/sbom","scorecard":{"id":426083,"data":{"date":"2025-08-11","repo":{"name":"github.com/gianiaz/switch","commit":"c3de4fa160f77ca0d551c2a745660e44f715afc9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/28 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":"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":"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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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"}}]},"last_synced_at":"2025-08-19T02:17:08.933Z","repository_id":57343106,"created_at":"2025-08-19T02:17:08.933Z","updated_at":"2025-08-19T02:17:08.933Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271093032,"owners_count":24697915,"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-08-19T02:00:09.176Z","response_time":63,"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":"gianiaz","name":"Giovanni Lenoci","uuid":"603458","kind":"user","description":"Nerd, php developer, symfony lover","email":"","website":null,"location":"Sondrio - Italy","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/603458?u=ad98bbfa98b4d1a5c09197ccd642a35a02c4bf15\u0026v=4","repositories_count":7,"last_synced_at":"2023-03-02T08:10:31.302Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/gianiaz","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-13T01:21:42.038Z","updated_at":"2023-03-02T08:10:31.314Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianiaz","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianiaz/repositories"},"tags":[{"name":"1.5.7","sha":"c3de4fa160f77ca0d551c2a745660e44f715afc9","kind":"commit","published_at":"2016-09-07T13:20:46.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.5.7","html_url":"https://github.com/gianiaz/switch/releases/tag/1.5.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.5.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.5.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.5.7/manifests"},{"name":"1.5.5","sha":"8f8551ab1905a56ebf91fa798abc9ecc447d25ed","kind":"commit","published_at":"2016-09-07T13:02:42.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.5.5","html_url":"https://github.com/gianiaz/switch/releases/tag/1.5.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.5.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.5.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.5.5/manifests"},{"name":"1.4.2","sha":"69815098f1afbce061a137eed43add635eafc198","kind":"commit","published_at":"2016-04-27T09:54:29.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.4.2","html_url":"https://github.com/gianiaz/switch/releases/tag/1.4.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.4.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.4.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.4.2/manifests"},{"name":"1.4.1","sha":"5dea1b49b741f6dbbb940c72edb0bf52c83d80dd","kind":"commit","published_at":"2016-04-12T07:25:36.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.4.1","html_url":"https://github.com/gianiaz/switch/releases/tag/1.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.4.1/manifests"},{"name":"1.4.0","sha":"ffcab13c4be23b00b662b0c54f51fa1301f97947","kind":"commit","published_at":"2016-04-08T09:52:16.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.4.0","html_url":"https://github.com/gianiaz/switch/releases/tag/1.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.4.0/manifests"},{"name":"1.3.3","sha":"1cd03732520f4f234f6d44986d393858af39a4f8","kind":"commit","published_at":"2016-02-20T07:28:24.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.3.3","html_url":"https://github.com/gianiaz/switch/releases/tag/1.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.3.3/manifests"},{"name":"1.3.2","sha":"2d773def96a5b9193d8bdda6897a6972f6814ed5","kind":"commit","published_at":"2016-01-25T03:57:12.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.3.2","html_url":"https://github.com/gianiaz/switch/releases/tag/1.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.3.2/manifests"},{"name":"1.2.2","sha":"c9d240f44343cbaf3bd70f87d5dce0c03997b64d","kind":"commit","published_at":"2016-01-25T03:45:57.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.2.2","html_url":"https://github.com/gianiaz/switch/releases/tag/1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.2.2/manifests"},{"name":"1.3.1","sha":"0bac728bf6b335dd70cc096c82738e753da5a11d","kind":"commit","published_at":"2015-11-16T05:07:02.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.3.1","html_url":"https://github.com/gianiaz/switch/releases/tag/1.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.3.1/manifests"},{"name":"1.2.1","sha":"640cf5a2530f2ffaec1916a33f82050bafb58584","kind":"commit","published_at":"2015-07-09T12:57:37.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.2.1","html_url":"https://github.com/gianiaz/switch/releases/tag/1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.2.1/manifests"},{"name":"1.2.0","sha":"5fab2b65433c386dd89d7f0db116410da94157db","kind":"commit","published_at":"2015-07-09T12:45:16.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.2.0","html_url":"https://github.com/gianiaz/switch/releases/tag/1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.2.0/manifests"},{"name":"1.1.0","sha":"5719fa0d1494ff2c2821800c03053ff9730b6092","kind":"commit","published_at":"2015-07-08T11:33:03.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.1.0","html_url":"https://github.com/gianiaz/switch/releases/tag/1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.1.0/manifests"},{"name":"1.0.0","sha":"66b716a5aabb34d2404f865f4d786875f3d6f6f8","kind":"commit","published_at":"2015-05-13T09:12:02.000Z","download_url":"https://codeload.github.com/gianiaz/switch/tar.gz/1.0.0","html_url":"https://github.com/gianiaz/switch/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gianiaz/switch@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianiaz%2Fswitch/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-08-19T03:08:52.554Z","dependent_packages_count":1,"downloads":164,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":32.4497679408061,"dependent_repos_count":10.38682000905086,"dependent_packages_count":21.07263963318656,"stargazers_count":14.57196927216094,"forks_count":15.467531025683364,"docker_downloads_count":null,"average":18.789745576177562},"purl":"pkg:npm/react-rcswitch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-rcswitch","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-rcswitch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-rcswitch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-07-16T22:21:18.142Z","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/gianiaz%2Fswitch/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-rcswitch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-rcswitch/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-rcswitch/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-rcswitch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-rcswitch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-rcswitch/codemeta","maintainers":[{"uuid":"gianiaz","login":"gianiaz","name":null,"email":"gianiaz@gmail.com","url":null,"packages_count":1,"html_url":"https://www.npmjs.com/~gianiaz","role":null,"created_at":"2022-11-14T04:12:57.277Z","updated_at":"2022-11-14T04:12:57.277Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/gianiaz/packages"}]}