{"id":837933,"name":"@betsol/detect-environment","ecosystem":"npm","description":"Detects environment by examining CLI arguments and NODE_ENV","homepage":"https://github.com/betsol/detect-environment","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/betsol/detect-environment","keywords_array":[],"namespace":"betsol","versions_count":3,"first_release_published_at":"2017-09-27T07:17:22.979Z","latest_release_published_at":"2017-09-27T07:31:01.330Z","latest_release_number":"1.0.2","last_synced_at":"2026-08-24T06:13:46.892Z","created_at":"2022-04-07T14:16:19.781Z","updated_at":"2026-08-31T10:25:12.496Z","registry_url":"https://www.npmjs.com/package/@betsol/detect-environment","install_command":"npm install @betsol/detect-environment","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.2"},"contentPolicy":null},"repo_metadata":{"id":143735487,"uuid":"104983853","full_name":"betsol/detect-environment","owner":"betsol","description":"Detects environment by examining CLI arguments and NODE_ENV","archived":false,"fork":false,"pushed_at":"2017-09-27T08:12:52.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-08-24T02:56:48.582Z","etag":null,"topics":["cli","environment","node-env","nodejs","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/betsol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-09-27T07:02:04.000Z","updated_at":"2017-12-08T21:46:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"c73b09df-db9d-4d09-aa75-6f5c23142260","html_url":"https://github.com/betsol/detect-environment","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"b185989422097ae05975ed570dffe58819e2373d"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/betsol/detect-environment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betsol","download_url":"https://codeload.github.com/betsol/detect-environment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/sbom","scorecard":{"id":235233,"data":{"date":"2025-08-11","repo":{"name":"github.com/betsol/detect-environment","commit":"b185989422097ae05975ed570dffe58819e2373d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"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":"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":"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":"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":"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":"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"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","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-17T05:33:58.412Z","repository_id":143735487,"created_at":"2025-08-17T05:33:58.415Z","updated_at":"2025-08-17T05:33:58.415Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36998573,"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-31T02:00:07.497Z","response_time":119,"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":"betsol","name":"BETSOL","uuid":"2610598","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/2610598?v=4","repositories_count":46,"last_synced_at":"2024-04-14T17:31:54.482Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/betsol","funding_links":[],"total_stars":414,"followers":0,"following":0,"created_at":"2022-11-04T14:42:40.701Z","updated_at":"2024-04-14T17:32:04.678Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betsol","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betsol/repositories"},"tags":[{"name":"v1.0.2","sha":"55d07caf239f26a044a0d7e65438a206cfc2a60d","kind":"tag","published_at":"2017-09-27T07:30:53.000Z","download_url":"https://codeload.github.com/betsol/detect-environment/tar.gz/v1.0.2","html_url":"https://github.com/betsol/detect-environment/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/betsol/detect-environment@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"55ee7cd58dfe86480642d4bb0395922be79edb2e","kind":"tag","published_at":"2017-09-27T07:26:15.000Z","download_url":"https://codeload.github.com/betsol/detect-environment/tar.gz/v1.0.1","html_url":"https://github.com/betsol/detect-environment/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/betsol/detect-environment@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"348070914459bc8272e07c78faf13a5753b3a30f","kind":"tag","published_at":"2017-09-27T07:10:17.000Z","download_url":"https://codeload.github.com/betsol/detect-environment/tar.gz/v1.0.0","html_url":"https://github.com/betsol/detect-environment/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/betsol/detect-environment@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betsol%2Fdetect-environment/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-31T10:25:12.495Z","dependent_packages_count":1,"downloads":303,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":12.759123326000699,"dependent_repos_count":10.305431089084582,"dependent_packages_count":20.923425438757658,"stargazers_count":14.501305323368724,"forks_count":11.581406647263295,"docker_downloads_count":null,"average":14.014138364894993},"purl":"pkg:npm/%40betsol/detect-environment","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@betsol/detect-environment","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@betsol/detect-environment","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@betsol/detect-environment/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-24T00:48:37.743Z","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/betsol%2Fdetect-environment/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@betsol%2Fdetect-environment/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@betsol%2Fdetect-environment/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@betsol%2Fdetect-environment/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@betsol%2Fdetect-environment/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@betsol%2Fdetect-environment/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@betsol%2Fdetect-environment/codemeta","maintainers":[{"uuid":"sfomin","login":"sfomin","name":null,"email":"slava@fomin.io","url":null,"packages_count":62,"html_url":"https://www.npmjs.com/~sfomin","role":null,"created_at":"2022-11-15T13:26:48.730Z","updated_at":"2022-11-15T13:26:48.730Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sfomin/packages"}]}