{"id":2504169,"name":"unswitch","ecosystem":"npm","description":"A tiny event handler for switch controllers on the web.","homepage":"https://github.com/vaneenige/unswitch#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/vaneenige/unswitch","keywords_array":["controller","input"],"namespace":null,"versions_count":5,"first_release_published_at":"2018-07-22T20:46:55.567Z","latest_release_published_at":"2018-08-09T18:51:52.961Z","latest_release_number":"1.4.0","last_synced_at":"2026-10-17T12:08:44.425Z","created_at":"2022-04-10T02:44:05.590Z","updated_at":"2026-10-17T12:08:44.425Z","registry_url":"https://www.npmjs.com/package/unswitch","install_command":"npm install unswitch","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.4.0"},"contentPolicy":null},"repo_metadata":{"id":57386911,"uuid":"141927393","full_name":"vaneenige/unswitch","owner":"vaneenige","description":"🕹 A tiny event handler for Switch controllers!","archived":false,"fork":false,"pushed_at":"2018-08-09T18:56:15.000Z","size":29,"stargazers_count":572,"open_issues_count":0,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-10-17T06:53:03.541Z","etag":null,"topics":["controller","gamepad","input","joystick","switch"],"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/vaneenige.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":"2018-07-22T20:12:08.000Z","updated_at":"2026-10-13T21:56:29.000Z","dependencies_parsed_at":"2022-09-26T16:50:46.036Z","dependency_job_id":null,"html_url":"https://github.com/vaneenige/unswitch","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vaneenige/unswitch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneenige","download_url":"https://codeload.github.com/vaneenige/unswitch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/sbom","scorecard":{"id":915859,"data":{"date":"2025-08-11","repo":{"name":"github.com/vaneenige/unswitch","commit":"88e073bce1e35e4faa536b912827cd2b2db238c5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"Code-Review","score":0,"reason":"Found 2/23 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":"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":"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":"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":"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":"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":"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":"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 8 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"}}]},"last_synced_at":"2025-08-24T20:57:44.404Z","repository_id":57386911,"created_at":"2025-08-24T20:57:44.404Z","updated_at":"2025-08-24T20:57:44.404Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38333355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-17T02:00:06.547Z","response_time":57,"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":"vaneenige","name":"Colin van Eenige","uuid":"9073496","kind":"user","description":"Director of Design Engineering @GetStream","email":"cvaneenige@gmail.com","website":null,"location":"Amsterdam","twitter":"cvaneenige","company":"Stream","icon_url":"https://avatars.githubusercontent.com/u/9073496?u=2f94796296e67f50551c408612f7814576618a94\u0026v=4","repositories_count":41,"last_synced_at":"2026-10-17T01:04:53.707Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/vaneenige","funding_links":[],"total_stars":4131,"followers":503,"following":55,"created_at":"2022-11-20T05:44:17.959Z","updated_at":"2026-10-17T01:04:53.724Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneenige","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneenige/repositories"},"tags":[{"name":"v1.4.0","sha":"88e073bce1e35e4faa536b912827cd2b2db238c5","kind":"commit","published_at":"2018-08-09T18:51:33.000Z","download_url":"https://codeload.github.com/vaneenige/unswitch/tar.gz/v1.4.0","html_url":"https://github.com/vaneenige/unswitch/releases/tag/v1.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vaneenige/unswitch@v1.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.4.0/manifests"},{"name":"v1.3.0","sha":"9b6a2e04c9916914bdc3b224db89f38bb53579f8","kind":"commit","published_at":"2018-08-07T17:00:29.000Z","download_url":"https://codeload.github.com/vaneenige/unswitch/tar.gz/v1.3.0","html_url":"https://github.com/vaneenige/unswitch/releases/tag/v1.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vaneenige/unswitch@v1.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.3.0/manifests"},{"name":"v1.2.0","sha":"7d6bfddcb822f761edfea912ee8949a0ba59ad2c","kind":"commit","published_at":"2018-08-07T06:55:07.000Z","download_url":"https://codeload.github.com/vaneenige/unswitch/tar.gz/v1.2.0","html_url":"https://github.com/vaneenige/unswitch/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vaneenige/unswitch@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"7c32c459c86f4bf6f6d104092816836ba243f21c","kind":"commit","published_at":"2018-07-24T20:26:47.000Z","download_url":"https://codeload.github.com/vaneenige/unswitch/tar.gz/v1.1.0","html_url":"https://github.com/vaneenige/unswitch/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vaneenige/unswitch@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"6d431bc1bc096cca3addadadfa881e01247a0cfe","kind":"commit","published_at":"2018-07-22T20:44:44.000Z","download_url":"https://codeload.github.com/vaneenige/unswitch/tar.gz/v1.0.0","html_url":"https://github.com/vaneenige/unswitch/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vaneenige/unswitch@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funswitch/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-17T12:07:51.974Z","dependent_packages_count":1,"downloads":93,"downloads_period":"last-month","dependent_repos_count":2,"rankings":{"downloads":24.532984670088165,"dependent_repos_count":7.8286232470991255,"dependent_packages_count":21.393374536562792,"stargazers_count":2.976000715737331,"forks_count":5.965516323447869,"docker_downloads_count":null,"average":12.539299898587057},"purl":"pkg:npm/unswitch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/unswitch","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/unswitch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/unswitch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-09T17:38:16.403Z","issues_count":4,"pull_requests_count":3,"avg_time_to_close_issue":2448639.0,"avg_time_to_close_pull_request":420136.6666666667,"issues_closed_count":4,"pull_requests_closed_count":3,"pull_request_authors_count":3,"issue_authors_count":4,"avg_comments_per_issue":1.75,"avg_comments_per_pull_request":2.0,"merged_pull_requests_count":2,"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/vaneenige%2Funswitch/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/unswitch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/unswitch/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/unswitch/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/unswitch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/unswitch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/unswitch/codemeta","maintainers":[{"uuid":"vaneenige","login":"vaneenige","name":null,"email":"cvaneenige@gmail.com","url":null,"packages_count":62,"html_url":"https://www.npmjs.com/~vaneenige","role":null,"created_at":"2022-11-15T05:41:39.181Z","updated_at":"2022-11-15T05:41:39.181Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/vaneenige/packages"}]}