{"id":1535046,"name":"cmd-or-ctrl","ecosystem":"npm","description":"The main thing: returning 'command' or 'control' based on the OS the user is using; another thing: returning the common names of OSs.","homepage":"https://github.com/RoderickQiu/cmd-or-ctrl#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/RoderickQiu/cmd-or-ctrl","keywords_array":["Roderick Qiu","RoderickQiu","scris","cmd-or-ctrl","cmdOrCtrl","cmd","ctrl","command","control","os","operating system","Windows","macOS","Linux","win32","darwin","electron","node"],"namespace":null,"versions_count":5,"first_release_published_at":"2020-02-24T12:32:17.212Z","latest_release_published_at":"2020-02-25T14:07:15.554Z","latest_release_number":"0.3.1","last_synced_at":"2026-07-17T00:08:03.093Z","created_at":"2022-04-09T04:52:13.635Z","updated_at":"2026-08-27T14:52:17.949Z","registry_url":"https://www.npmjs.com/package/cmd-or-ctrl","install_command":"npm install cmd-or-ctrl","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.3.1"}},"repo_metadata":{"id":57201120,"uuid":"242723809","full_name":"RoderickQiu/cmd-or-ctrl","owner":"RoderickQiu","description":"The main thing: returning 'command' or 'control' based on the OS the user is using; another thing: returning the common names of OSs.","archived":false,"fork":false,"pushed_at":"2020-02-25T14:25:23.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-09T10:35:11.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/cmd-or-ctrl","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/RoderickQiu.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":"2020-02-24T11:54:30.000Z","updated_at":"2020-08-08T03:30:54.000Z","dependencies_parsed_at":"2022-09-15T11:23:06.996Z","dependency_job_id":null,"html_url":"https://github.com/RoderickQiu/cmd-or-ctrl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/RoderickQiu/cmd-or-ctrl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoderickQiu","download_url":"https://codeload.github.com/RoderickQiu/cmd-or-ctrl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/sbom","scorecard":{"id":122199,"data":{"date":"2025-08-11","repo":{"name":"github.com/RoderickQiu/cmd-or-ctrl","commit":"f50ad9cb37152e1c30bacb259cd445c604c0f413"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/4 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":"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":"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":"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":"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":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"}}]},"last_synced_at":"2025-08-16T02:42:10.495Z","repository_id":57201120,"created_at":"2025-08-16T02:42:10.496Z","updated_at":"2025-08-16T02:42:10.496Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36943324,"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-08-27T02:00:07.166Z","response_time":96,"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":"RoderickQiu","name":"r-q","uuid":"42290260","kind":"user","description":"Product and Productivity | Java and Javascript","email":"","website":"https://r-q.name/","location":"Somewhere maybe, been thinking lately.","twitter":null,"company":"SUSTech, Shenzhen.","icon_url":"https://avatars.githubusercontent.com/u/42290260?u=c583c0d0a9b6ccc2e478f9c8f315479df055342e\u0026v=4","repositories_count":8,"last_synced_at":"2023-03-05T01:34:00.716Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/RoderickQiu","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-15T03:45:26.128Z","updated_at":"2023-03-05T01:34:00.849Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoderickQiu","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoderickQiu/repositories"},"tags":[{"name":"0.3.1","sha":"f50ad9cb37152e1c30bacb259cd445c604c0f413","kind":"commit","published_at":"2020-02-25T14:10:13.000Z","download_url":"https://codeload.github.com/RoderickQiu/cmd-or-ctrl/tar.gz/0.3.1","html_url":"https://github.com/RoderickQiu/cmd-or-ctrl/releases/tag/0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/RoderickQiu/cmd-or-ctrl@0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/tags/0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/tags/0.3.1/manifests"},{"name":"0.2.2","sha":"ffe9e1ea8e05a019a0c2181487af5c543b44b108","kind":"commit","published_at":"2020-02-24T12:43:32.000Z","download_url":"https://codeload.github.com/RoderickQiu/cmd-or-ctrl/tar.gz/0.2.2","html_url":"https://github.com/RoderickQiu/cmd-or-ctrl/releases/tag/0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/RoderickQiu/cmd-or-ctrl@0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/tags/0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoderickQiu%2Fcmd-or-ctrl/tags/0.2.2/manifests"}]},"repo_metadata_updated_at":"2026-08-27T14:52:17.949Z","dependent_packages_count":1,"downloads":85,"downloads_period":"last-month","dependent_repos_count":4,"rankings":{"downloads":14.468133769162595,"dependent_repos_count":5.561057298646011,"dependent_packages_count":20.907756255897063,"stargazers_count":14.49447761369693,"forks_count":15.382149371460885,"docker_downloads_count":null,"average":14.162714861772695},"purl":"pkg:npm/cmd-or-ctrl","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/cmd-or-ctrl","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/cmd-or-ctrl","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/cmd-or-ctrl/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-09T01:49:52.483Z","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/roderickqiu%2Fcmd-or-ctrl/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cmd-or-ctrl/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cmd-or-ctrl/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cmd-or-ctrl/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cmd-or-ctrl/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cmd-or-ctrl/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cmd-or-ctrl/codemeta","maintainers":[{"uuid":"r-q","login":"r-q","name":null,"email":"scrisqiu@hotmail.com","url":null,"packages_count":5,"html_url":"https://www.npmjs.com/~r-q","role":null,"created_at":"2022-11-11T19:12:04.848Z","updated_at":"2022-11-11T19:12:04.848Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/r-q/packages"}]}