{"id":1856103,"name":"if-node-version","ecosystem":"npm","description":"Run commands if on specified node version.","homepage":"https://github.com/mysticatea/if-node-version#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mysticatea/if-node-version","keywords_array":["node","version","semver","range","check","compare","conditional","less","greater","than","run","execute","command","cli"],"namespace":null,"versions_count":5,"first_release_published_at":"2016-07-02T14:38:10.558Z","latest_release_published_at":"2016-11-14T09:38:21.456Z","latest_release_number":"1.1.1","last_synced_at":"2026-10-04T07:20:49.791Z","created_at":"2022-04-09T17:29:40.296Z","updated_at":"2026-10-04T07:20:50.079Z","registry_url":"https://www.npmjs.com/package/if-node-version","install_command":"npm install if-node-version","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.1"},"contentPolicy":null},"repo_metadata":{"id":57271430,"uuid":"62450520","full_name":"mysticatea/if-node-version","owner":"mysticatea","description":"Run a shell command if it's on the node of specified versions.","archived":false,"fork":false,"pushed_at":"2020-07-21T12:34:58.000Z","size":25,"stargazers_count":15,"open_issues_count":2,"forks_count":15,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-09-29T17:17:03.446Z","etag":null,"topics":["cli","cli-command","node","nodejs","npm","npm-module","npm-package","npm-scripts","version","version-check"],"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/mysticatea.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":"2016-07-02T12:49:06.000Z","updated_at":"2025-05-23T02:57:14.000Z","dependencies_parsed_at":"2022-09-01T00:42:40.819Z","dependency_job_id":null,"html_url":"https://github.com/mysticatea/if-node-version","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mysticatea/if-node-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysticatea","download_url":"https://codeload.github.com/mysticatea/if-node-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/sbom","scorecard":{"id":671378,"data":{"date":"2025-08-11","repo":{"name":"github.com/mysticatea/if-node-version","commit":"1366b98ba6192fb9b9fb696fcf05b505f9da5373"},"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":"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":"Code-Review","score":0,"reason":"Found 0/14 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":"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":"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":"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":"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":"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-21T20:11:12.023Z","repository_id":57271430,"created_at":"2025-08-21T20:11:12.023Z","updated_at":"2025-08-21T20:11:12.023Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343072799,"owners_count":37995734,"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-04T02:00:06.888Z","response_time":127,"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":"mysticatea","name":"Toru Nagashima","uuid":"1937871","kind":"user","description":"A software developer.","email":"","website":null,"location":"Shizuoka, Japan","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1937871?v=4","repositories_count":118,"last_synced_at":"2026-09-30T01:34:04.637Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"mysticatea"}},"html_url":"https://github.com/mysticatea","funding_links":["https://github.com/sponsors/mysticatea"],"total_stars":8985,"followers":1171,"following":41,"created_at":"2022-11-02T16:17:01.188Z","updated_at":"2026-09-30T01:34:04.661Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysticatea","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysticatea/repositories"},"tags":[{"name":"v1.1.1","sha":"1366b98ba6192fb9b9fb696fcf05b505f9da5373","kind":"tag","published_at":"2016-11-14T08:58:43.000Z","download_url":"https://codeload.github.com/mysticatea/if-node-version/tar.gz/v1.1.1","html_url":"https://github.com/mysticatea/if-node-version/releases/tag/v1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mysticatea/if-node-version@v1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v1.1.1/manifests"},{"name":"v1.1.0","sha":"d0a566eb15d60de7824950c02aabd806bf35eff4","kind":"tag","published_at":"2016-09-24T23:47:52.000Z","download_url":"https://codeload.github.com/mysticatea/if-node-version/tar.gz/v1.1.0","html_url":"https://github.com/mysticatea/if-node-version/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mysticatea/if-node-version@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"a3c61a3ccef18a3c259f2126b472c06c1df60581","kind":"tag","published_at":"2016-07-04T03:31:52.000Z","download_url":"https://codeload.github.com/mysticatea/if-node-version/tar.gz/v1.0.0","html_url":"https://github.com/mysticatea/if-node-version/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mysticatea/if-node-version@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v1.0.0/manifests"},{"name":"v0.1.0","sha":"01ede1de3763c19db1ef7958e6301f2b7f048b0f","kind":"tag","published_at":"2016-07-03T12:10:34.000Z","download_url":"https://codeload.github.com/mysticatea/if-node-version/tar.gz/v0.1.0","html_url":"https://github.com/mysticatea/if-node-version/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mysticatea/if-node-version@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysticatea%2Fif-node-version/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-10-04T07:20:50.079Z","dependent_packages_count":53,"downloads":7813,"downloads_period":"last-month","dependent_repos_count":51790,"rankings":{"downloads":2.1438770485643364,"dependent_repos_count":0.13305643387445754,"dependent_packages_count":0.5717293614309976,"stargazers_count":8.590345123106816,"forks_count":5.437062064377974,"docker_downloads_count":null,"average":3.375214006270917},"purl":"pkg:npm/if-node-version","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/if-node-version","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/if-node-version","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/if-node-version/dependencies","status":null,"funding_links":["https://github.com/sponsors/mysticatea"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-29T15:32:16.367Z","issues_count":0,"pull_requests_count":3,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":13201148.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.3333333333333333,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":3,"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/mysticatea%2Fif-node-version/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/if-node-version/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/if-node-version/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/if-node-version/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/if-node-version/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/if-node-version/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/if-node-version/codemeta","maintainers":[{"uuid":"mysticatea","login":"mysticatea","name":null,"email":"star.ctor@gmail.com","url":null,"packages_count":63,"html_url":"https://www.npmjs.com/~mysticatea","role":null,"created_at":"2022-11-20T01:35:57.240Z","updated_at":"2022-11-20T01:35:57.240Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mysticatea/packages"}]}