{"id":2276754,"name":"react-switch","ecosystem":"npm","description":"Draggable toggle-switch component for react","homepage":"https://github.com/markusenglund/react-switch#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/markusenglund/react-switch","keywords_array":["switch","toggle","toggle-button","toggle-switch","checkbox","react","react-component"],"namespace":null,"versions_count":34,"first_release_published_at":"2015-04-30T15:04:24.732Z","latest_release_published_at":"2024-12-14T17:23:28.197Z","latest_release_number":"7.1.0","last_synced_at":"2026-04-03T02:01:01.074Z","created_at":"2022-04-09T23:30:42.965Z","updated_at":"2026-04-03T02:01:01.074Z","registry_url":"https://www.npmjs.com/package/react-switch","install_command":"npm install react-switch","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"alpha":"4.0.0-alpha.0","experimental":"7.0.0-experimental.0","latest":"7.1.0","beta":"7.0.0"}},"repo_metadata":{"id":40005113,"uuid":"103684063","full_name":"markusenglund/react-switch","owner":"markusenglund","description":"A draggable toggle-switch component for React. Check out the demo at:","archived":false,"fork":false,"pushed_at":"2024-12-14T17:19:23.000Z","size":2694,"stargazers_count":1344,"open_issues_count":38,"forks_count":99,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-26T11:42:48.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://react-switch.netlify.app/","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/markusenglund.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-09-15T17:32:20.000Z","updated_at":"2025-10-03T22:03:32.000Z","dependencies_parsed_at":"2025-01-02T16:16:21.648Z","dependency_job_id":null,"html_url":"https://github.com/markusenglund/react-switch","commit_stats":{"total_commits":398,"total_committers":16,"mean_commits":24.875,"dds":0.09045226130653261,"last_synced_commit":"3a03b00a0796735f291fe98df88068872e8c459f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markusenglund/react-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusenglund%2Freact-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusenglund%2Freact-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusenglund%2Freact-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusenglund%2Freact-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusenglund","download_url":"https://codeload.github.com/markusenglund/react-switch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusenglund%2Freact-switch/sbom","scorecard":{"id":620618,"data":{"date":"2025-08-11","repo":{"name":"github.com/markusenglund/react-switch","commit":"3a03b00a0796735f291fe98df88068872e8c459f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"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":"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":"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":"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":1,"reason":"Found 3/17 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"24 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T05:08:12.414Z","repository_id":40005113,"created_at":"2025-08-21T05:08:12.415Z","updated_at":"2025-08-21T05:08:12.415Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282258863,"owners_count":26640086,"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-11-02T02:00:06.609Z","response_time":64,"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":"markusenglund","name":"Markus Englund","uuid":"22945927","kind":"user","description":"","email":"","website":null,"location":"Utrecht, Netherlands","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/22945927?u=f957e565a2991a297256b623fd2b2801c646d016\u0026v=4","repositories_count":45,"last_synced_at":"2024-05-12T05:50:31.998Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/markusenglund","funding_links":[],"total_stars":3249,"followers":182,"following":14,"created_at":"2022-11-02T16:31:52.763Z","updated_at":"2024-05-12T05:50:37.599Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusenglund","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusenglund/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-28T02:33:17.548Z","dependent_packages_count":385,"downloads":1437908,"downloads_period":"last-month","dependent_repos_count":5815,"rankings":{"downloads":0.2674623191967332,"dependent_repos_count":0.31055891918883116,"dependent_packages_count":0.14344050413494785,"stargazers_count":2.224967054078387,"forks_count":3.029547172423573,"docker_downloads_count":0.7631012403022142,"average":1.1231795348874478},"purl":"pkg:npm/react-switch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-switch","docker_dependents_count":61,"docker_downloads_count":13285,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-switch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-switch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-24T04:19:50.485Z","issues_count":76,"pull_requests_count":34,"avg_time_to_close_issue":10356273.311111111,"avg_time_to_close_pull_request":10379866.777777778,"issues_closed_count":45,"pull_requests_closed_count":27,"pull_request_authors_count":23,"issue_authors_count":74,"avg_comments_per_issue":2.9078947368421053,"avg_comments_per_pull_request":1.852941176470588,"merged_pull_requests_count":13,"bot_issues_count":0,"bot_pull_requests_count":8,"past_year_issues_count":4,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":434643.0,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":4,"past_year_avg_comments_per_issue":0.5,"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/markusenglund%2Freact-switch/issues","maintainers":[{"login":"markusenglund","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/markusenglund"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-switch/codemeta","maintainers":[{"uuid":"yogaboll","login":"yogaboll","name":null,"email":"markus@englund.dev","url":null,"packages_count":3,"html_url":"https://www.npmjs.com/~yogaboll","role":null,"created_at":"2022-11-14T04:46:36.504Z","updated_at":"2022-11-14T04:46:36.504Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/yogaboll/packages"}]}