{"id":1043816,"name":"@magic-modules/light-switch","ecosystem":"npm","description":"@magic-modules LightSwitch. change colors to dark mode.","homepage":"https://github.com/magic-modules/light-switch#readme","licenses":"AGPL-3.0","normalized_licenses":["AGPL-3.0"],"repository_url":"https://github.com/magic-modules/light-switch","keywords_array":["magic","dark","light","mode","magic-modules","hyperapp"],"namespace":"magic-modules","versions_count":12,"first_release_published_at":"2019-12-06T21:49:12.544Z","latest_release_published_at":"2023-02-16T13:35:34.799Z","latest_release_number":"0.0.12","last_synced_at":"2026-04-03T03:30:48.957Z","created_at":"2022-04-07T20:02:22.751Z","updated_at":"2026-04-03T03:30:48.957Z","registry_url":"https://www.npmjs.com/package/@magic-modules/light-switch","install_command":"npm install @magic-modules/light-switch","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.0.12"}},"repo_metadata":{"id":65924808,"uuid":"189770528","full_name":"magic-modules/light-switch","owner":"magic-modules","description":"this is the @magic-modules LightSwitch component. It provides a dynamic dark/light theme switch button","archived":false,"fork":false,"pushed_at":"2023-02-16T13:39:21.000Z","size":738,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T02:51:52.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://magic-modules.github.io/light-switch/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magic-modules.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":"2019-06-01T19:31:20.000Z","updated_at":"2022-04-02T23:37:21.000Z","dependencies_parsed_at":"2023-06-12T11:45:09.376Z","dependency_job_id":null,"html_url":"https://github.com/magic-modules/light-switch","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/magic-modules/light-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magic-modules","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/sbom","scorecard":{"id":611543,"data":{"date":"2025-08-11","repo":{"name":"github.com/magic-modules/light-switch","commit":"067e3fe00a9d134727c40ce7c86f1b80afc899b6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Affero General Public License v3.0: 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":"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":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"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-21T02:46:58.556Z","repository_id":65924808,"created_at":"2025-08-21T02:46:58.557Z","updated_at":"2025-08-21T02:46:58.557Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277666993,"owners_count":25856484,"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-09-30T02:00:09.208Z","response_time":75,"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":"magic-modules","name":"@magic-modules","uuid":"46429973","kind":"organization","description":"building blocks for @magic.","email":null,"website":"https://magic-modules.github.io","location":"utopia","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/46429973?v=4","repositories_count":25,"last_synced_at":"2023-03-25T01:50:21.327Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/magic-modules","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-02-16T15:11:40.336Z","updated_at":"2023-03-25T01:50:21.643Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magic-modules","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magic-modules/repositories"},"tags":[{"name":"v0.0.12","sha":"54c67328540be1f6d330411928f577301b504c94","kind":"tag","published_at":"2023-02-16T13:33:20.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.12","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.12","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.12","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.12","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.12/manifests"},{"name":"v0.0.11","sha":"74468a4879e7006054e80e62d9e7575a47a269a5","kind":"tag","published_at":"2022-04-02T23:37:09.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.11","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.11","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.11","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.11","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.11/manifests"},{"name":"v0.0.10","sha":"827c0036b09f18744905e25f8fa09a75b921b68a","kind":"tag","published_at":"2021-01-17T14:46:11.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.10","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.10","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.10","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.10","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.10/manifests"},{"name":"v0.0.9","sha":"85d9da3c7765545f124d773b7614bb48c7fd6f08","kind":"tag","published_at":"2020-07-18T04:25:29.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.9","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.9/manifests"},{"name":"v0.0.8","sha":"e8db6fa07e3654165a25d6009656a534d3f25680","kind":"tag","published_at":"2020-07-18T02:33:24.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.8","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.8/manifests"},{"name":"v0.0.7","sha":"534a43bae4309c39264335c21a556ed66891215c","kind":"tag","published_at":"2020-07-18T01:43:16.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.7","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.7/manifests"},{"name":"v0.0.6","sha":"03a3b4be8151f44530a75a0819e15d51a05d8a0d","kind":"tag","published_at":"2020-05-07T23:24:36.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.6","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.6/manifests"},{"name":"v0.0.5","sha":"d7f1a54b2d592f7b619cac05d872d1fa1569c4eb","kind":"tag","published_at":"2020-01-28T23:17:05.000Z","download_url":"https://codeload.github.com/magic-modules/light-switch/tar.gz/v0.0.5","html_url":"https://github.com/magic-modules/light-switch/releases/tag/v0.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/magic-modules/light-switch@v0.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic-modules%2Flight-switch/tags/v0.0.5/manifests"}]},"repo_metadata_updated_at":"2025-09-30T09:57:23.204Z","dependent_packages_count":61,"downloads":35,"downloads_period":"last-month","dependent_repos_count":53,"rankings":{"downloads":22.02283826900099,"dependent_repos_count":1.8506509082802083,"dependent_packages_count":0.5234075817480408,"stargazers_count":21.047505705634688,"forks_count":15.49480206590964,"docker_downloads_count":null,"average":12.187840906114713},"purl":"pkg:npm/%40magic-modules/light-switch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@magic-modules/light-switch","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@magic-modules/light-switch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@magic-modules/light-switch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-30T02:51:52.535Z","issues_count":0,"pull_requests_count":37,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":222249.0,"issues_closed_count":0,"pull_requests_closed_count":37,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.9459459459459459,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":37,"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/magic-modules%2Flight-switch/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@magic-modules%2Flight-switch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@magic-modules%2Flight-switch/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@magic-modules%2Flight-switch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@magic-modules%2Flight-switch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@magic-modules%2Flight-switch/codemeta","maintainers":[{"uuid":"jascha","login":"jascha","name":null,"email":"jascha@jaeh.at","url":null,"packages_count":82,"html_url":"https://www.npmjs.com/~jascha","role":null,"created_at":"2022-11-20T19:12:17.954Z","updated_at":"2022-11-20T19:12:17.954Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jascha/packages"}]}