{"id":1294970,"name":"@stdlib/utils-if-then","ecosystem":"npm","description":"If a condition is truthy, invoke `x`; otherwise, invoke `y`.","homepage":"https://stdlib.io","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/stdlib-js/utils-if-then","keywords_array":["stdlib","stdutils","stdutil","utilities","utility","utils","util","if","else","then","if-else","if-then","defer","deferred","delay","delayed","control","flow","condition","conditional","either-or"],"namespace":"stdlib","versions_count":13,"first_release_published_at":"2021-06-14T01:11:50.265Z","latest_release_published_at":"2026-02-07T19:21:31.403Z","latest_release_number":"0.2.3","last_synced_at":"2026-03-28T22:05:23.491Z","created_at":"2022-04-08T19:56:31.386Z","updated_at":"2026-03-28T22:05:23.492Z","registry_url":"https://www.npmjs.com/package/@stdlib/utils-if-then","install_command":"npm install @stdlib/utils-if-then","documentation_url":null,"metadata":{"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"dist-tags":{"latest":"0.2.3"}},"repo_metadata":{"id":41356828,"uuid":"376624033","full_name":"stdlib-js/utils-if-then","owner":"stdlib-js","description":"If a condition is truthy, invoke `x`; otherwise, invoke `y`.","archived":false,"fork":false,"pushed_at":"2025-06-02T00:38:17.000Z","size":949,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-04T23:50:42.501Z","etag":null,"topics":["control","defer","deferred","delay","delayed","else","flow","if","if-else","if-then","javascript","node","node-js","nodejs","stdlib","then","util","utilities","utility","utils"],"latest_commit_sha":null,"homepage":"https://github.com/stdlib-js/stdlib","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stdlib-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["stdlib-js"],"open_collective":"stdlib","tidelift":"npm/@stdlib/stdlib"}},"created_at":"2021-06-13T19:25:04.000Z","updated_at":"2025-06-02T00:34:56.000Z","dependencies_parsed_at":"2023-02-17T06:15:18.458Z","dependency_job_id":"d288745f-e862-4b2e-87e0-e00f2de80c15","html_url":"https://github.com/stdlib-js/utils-if-then","commit_stats":{"total_commits":50,"total_committers":1,"mean_commits":50.0,"dds":0.0,"last_synced_commit":"1cd08b89f4eeb228fdb48a05764e1bc9d6059980"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/stdlib-js/utils-if-then","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/sbom","scorecard":{"id":849807,"data":{"date":"2025-08-11","repo":{"name":"github.com/stdlib-js/utils-if-then","commit":"3f37c23458ad181e5ef345a5b8f1d27d654f2637"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: SECURITY.md:1"],"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":"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/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":"Maintained","score":0,"reason":"1 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":"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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: Apache License 2.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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/benchmark.yml:1","Warn: no topLevel permission defined: .github/workflows/cancel.yml:1","Warn: no topLevel permission defined: .github/workflows/close_pull_requests.yml:1","Warn: no topLevel permission defined: .github/workflows/examples.yml:1","Warn: no topLevel permission defined: .github/workflows/npm_downloads.yml:1","Warn: no topLevel permission defined: .github/workflows/productionize.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Warn: no topLevel permission defined: .github/workflows/test_bundles.yml:1","Warn: no topLevel permission defined: .github/workflows/test_coverage.yml:1","Warn: no topLevel permission defined: .github/workflows/test_install.yml:1","Warn: no topLevel permission defined: .github/workflows/test_published_package.yml:1","Info: no jobLevel write permissions found"],"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":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/productionize.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/stdlib-js/utils-if-then/productionize.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/productionize.yml:275: update your workflow using https://app.stepsecurity.io/secureworkflow/stdlib-js/utils-if-then/productionize.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/productionize.yml:449: update your workflow using https://app.stepsecurity.io/secureworkflow/stdlib-js/utils-if-then/productionize.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/productionize.yml:457: update your workflow using https://app.stepsecurity.io/secureworkflow/stdlib-js/utils-if-then/productionize.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/productionize.yml:623: update your workflow using https://app.stepsecurity.io/secureworkflow/stdlib-js/utils-if-then/productionize.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/benchmark.yml:58","Warn: npmCommand not pinned by hash: .github/workflows/benchmark.yml:58","Warn: npmCommand not pinned by hash: .github/workflows/benchmark.yml:58","Warn: npmCommand not pinned by hash: .github/workflows/examples.yml:58","Warn: npmCommand not pinned by hash: .github/workflows/examples.yml:58","Warn: npmCommand not pinned by hash: .github/workflows/examples.yml:58","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:157","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:157","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:157","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:165","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:269","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:269","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:269","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:436","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:436","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:436","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:617","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:617","Warn: npmCommand not pinned by hash: .github/workflows/productionize.yml:617","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:76","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:76","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:76","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:83","Warn: npmCommand not pinned by hash: .github/workflows/test_bundles.yml:72","Warn: npmCommand not pinned by hash: .github/workflows/test_coverage.yml:67","Warn: npmCommand not pinned by hash: .github/workflows/test_coverage.yml:67","Warn: npmCommand not pinned by hash: .github/workflows/test_coverage.yml:67","Warn: npmCommand not pinned by hash: .github/workflows/test_coverage.yml:74","Warn: npmCommand not pinned by hash: .github/workflows/test_install.yml:75","Warn: npmCommand not pinned by hash: .github/workflows/test_install.yml:75","Warn: npmCommand not pinned by hash: .github/workflows/test_install.yml:75","Warn: npmCommand not pinned by hash: .github/workflows/test_published_package.yml:93","Info:  33 out of  33 GitHub-owned GitHubAction dependencies pinned","Info:  19 out of  24 third-party GitHubAction dependencies pinned","Info:   0 out of  32 npmCommand dependencies pinned"],"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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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-23T22:11:07.141Z","repository_id":41356828,"created_at":"2025-08-23T22:11:07.141Z","updated_at":"2025-08-23T22:11:07.141Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278536787,"owners_count":26003215,"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-10-05T02:00:06.059Z","response_time":54,"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":"stdlib-js","name":"stdlib","uuid":"17805691","kind":"organization","description":"Standard library for JavaScript.","email":null,"website":"https://stdlib.io","location":null,"twitter":"stdlibjs","company":null,"icon_url":"https://avatars.githubusercontent.com/u/17805691?v=4","repositories_count":3692,"last_synced_at":"2024-05-01T09:30:33.148Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["stdlib-js"],"open_collective":"stdlib","tidelift":"npm/@stdlib/stdlib"}},"html_url":"https://github.com/stdlib-js","funding_links":["https://github.com/sponsors/stdlib-js","https://opencollective.com/stdlib","https://tidelift.com/funding/github/npm/@stdlib/stdlib"],"total_stars":9686,"followers":99,"following":0,"created_at":"2022-11-02T16:51:14.990Z","updated_at":"2024-05-01T09:37:07.346Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js/repositories"},"tags":[{"name":"v0.2.2-esm","sha":"427a5d83341f7edb2a6c1c8bd58e3bdf43391114","kind":"tag","published_at":"2024-07-27T01:23:35.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.2-esm","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.2-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.2-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2-esm/manifests"},{"name":"v0.2.2-umd","sha":"37e96fffb8cc190758be297f1d618bd5f562bcf8","kind":"tag","published_at":"2024-07-27T01:23:33.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.2-umd","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.2-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.2-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2-umd/manifests"},{"name":"v0.2.2-deno","sha":"69bc8cad01e253c7a1e26b67c3cba7bbdf7d2575","kind":"tag","published_at":"2024-07-27T01:23:32.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.2-deno","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.2-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.2-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2-deno/manifests"},{"name":"v0.2.2","sha":"ed2bb591fa9cae9dbc0c08428068f83d90295967","kind":"commit","published_at":"2024-07-27T00:33:09.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.2","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.2/manifests"},{"name":"v0.2.1-esm","sha":"91b7aa10c00336cb9d73d413a2a298e8f5a7c115","kind":"tag","published_at":"2024-02-21T23:12:31.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.1-esm","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.1-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.1-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1-esm/manifests"},{"name":"v0.2.1-umd","sha":"7eb9b14a8982711aa2ae713a1b405dfb50990150","kind":"tag","published_at":"2024-02-21T23:12:29.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.1-umd","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.1-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.1-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1-umd/manifests"},{"name":"v0.2.1-deno","sha":"46d0903981fad9b691b5887cd6b1420c8089cc61","kind":"tag","published_at":"2024-02-21T23:12:28.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.1-deno","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.1-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.1-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1-deno/manifests"},{"name":"v0.2.1","sha":"80364f66704a00fe7ed00ed600b3de0361759916","kind":"commit","published_at":"2024-02-21T22:11:50.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.1","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.1/manifests"},{"name":"v0.2.0-esm","sha":"19d082df04b5352c7df88c6488c7f31e9b43c172","kind":"tag","published_at":"2024-02-14T07:24:20.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.0-esm","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.0-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.0-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0-esm/manifests"},{"name":"v0.2.0-umd","sha":"3142eaf961d3f06f7f011cc47413febde27fb16a","kind":"tag","published_at":"2024-02-14T07:24:19.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.0-umd","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.0-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.0-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0-umd/manifests"},{"name":"v0.2.0-deno","sha":"8182ffa01809de64835ed9d2289d38525f4e6267","kind":"tag","published_at":"2024-02-14T07:24:17.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.0-deno","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.0-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.0-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0-deno/manifests"},{"name":"v0.2.0","sha":"1cd08b89f4eeb228fdb48a05764e1bc9d6059980","kind":"commit","published_at":"2024-02-14T04:02:36.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.2.0","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.2.0/manifests"},{"name":"v0.1.1-esm","sha":"df3e21ceb662e2f97a304877bbc8678d06be3d4f","kind":"tag","published_at":"2023-10-04T15:20:23.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.1-esm","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.1-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.1-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1-esm/manifests"},{"name":"v0.1.1-umd","sha":"048f1b54f0ffe8a3141bebda97d512bca13a9c00","kind":"tag","published_at":"2023-10-04T15:20:21.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.1-umd","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.1-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.1-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1-umd/manifests"},{"name":"v0.1.1-deno","sha":"d4a1fb33c12b5832683de242d84fe1f06e30198e","kind":"tag","published_at":"2023-10-04T15:20:19.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.1-deno","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.1-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.1-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1-deno/manifests"},{"name":"v0.1.1","sha":"3dc8e535dee9d770a85cfaa108f2886f74599f18","kind":"commit","published_at":"2023-10-03T23:43:14.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.1","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.1/manifests"},{"name":"v0.1.0-esm","sha":"fa69d339bd0ccf1bf3b37acfc1e54461decd7533","kind":"tag","published_at":"2023-09-22T21:40:54.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.0-esm","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.0-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.0-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0-esm/manifests"},{"name":"v0.1.0-umd","sha":"32a128c516537a32af76a51be424339fb31f0f3a","kind":"tag","published_at":"2023-09-22T21:40:52.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.0-umd","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.0-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.0-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0-umd/manifests"},{"name":"v0.1.0-deno","sha":"0ef3f853f2bf2ebc831c5d0916053c278c9b19aa","kind":"tag","published_at":"2023-09-22T21:40:51.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.0-deno","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.0-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.0-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0-deno/manifests"},{"name":"v0.1.0","sha":"7dbfb2e73619aa0fe462dfff371ef0d8e2b8655c","kind":"commit","published_at":"2023-09-22T21:00:04.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.1.0","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.1.0/manifests"},{"name":"v0.0.7","sha":"844f40e248b1c4762ab1a5fe95bb6b2c7858bf28","kind":"commit","published_at":"2022-02-16T06:29:37.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.0.7","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.7/manifests"},{"name":"v0.0.6","sha":"397dcee66b5540245b7263ca39c577d9552c0efa","kind":"commit","published_at":"2021-08-22T15:56:43.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.0.6","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.6/manifests"},{"name":"v0.0.5","sha":"3dbb767fd21e60f18e708312031acb1eba2d459b","kind":"tag","published_at":"2021-07-06T23:29:36.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.0.5","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.5/manifests"},{"name":"v0.0.4","sha":"bae82977472b67b1389c0d79f63648f4a6593022","kind":"tag","published_at":"2021-06-27T22:14:20.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.0.4","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.4/manifests"},{"name":"v0.0.3","sha":"cfdaf538e2c76875a0bd4c1b3230c44f50080e19","kind":"tag","published_at":"2021-06-16T03:55:25.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.0.3","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.3/manifests"},{"name":"v0.0.2","sha":"81da8913cd1f48f1e9699116bf8ebee52ec28de0","kind":"tag","published_at":"2021-06-15T14:32:28.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.0.2","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.2/manifests"},{"name":"v0.0.1","sha":"c1efaaf66af6719629ba52f130d6d8a2abded3f0","kind":"tag","published_at":"2021-06-14T01:11:44.000Z","download_url":"https://codeload.github.com/stdlib-js/utils-if-then/tar.gz/v0.0.1","html_url":"https://github.com/stdlib-js/utils-if-then/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/utils-if-then@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Futils-if-then/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-02-21T04:36:42.932Z","dependent_packages_count":2,"downloads":7,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":13.252145036397742,"dependent_repos_count":25.32799796580169,"dependent_packages_count":9.4821380216761,"stargazers_count":15.548507148482713,"forks_count":17.419597981652586,"average":16.206077230802165},"purl":"pkg:npm/%40stdlib/utils-if-then","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@stdlib/utils-if-then","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@stdlib/utils-if-then","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@stdlib/utils-if-then/dependencies","status":null,"funding_links":["https://opencollective.com/stdlib","https://github.com/sponsors/stdlib-js","https://tidelift.com/funding/github/npm/@stdlib/stdlib"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-19T20:28:20.302Z","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/stdlib-js%2Futils-if-then/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Futils-if-then/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Futils-if-then/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Futils-if-then/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Futils-if-then/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Futils-if-then/codemeta","maintainers":[{"uuid":"planeshifter","login":"planeshifter","name":null,"email":"pgb@andrew.cmu.edu","url":null,"packages_count":5862,"html_url":"https://www.npmjs.com/~planeshifter","role":null,"created_at":"2022-11-11T00:22:05.088Z","updated_at":"2022-11-11T00:22:05.088Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/planeshifter/packages"},{"uuid":"rreusser","login":"rreusser","name":null,"email":"rsreusser@gmail.com","url":null,"packages_count":5820,"html_url":"https://www.npmjs.com/~rreusser","role":null,"created_at":"2022-11-11T00:22:05.108Z","updated_at":"2022-11-11T00:22:05.108Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/rreusser/packages"},{"uuid":"stdlib-bot","login":"stdlib-bot","name":null,"email":"kgryte+stdlibbot@gmail.com","url":null,"packages_count":5553,"html_url":"https://www.npmjs.com/~stdlib-bot","role":null,"created_at":"2022-11-11T00:22:05.059Z","updated_at":"2022-11-11T00:22:05.059Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/stdlib-bot/packages"},{"uuid":"kgryte","login":"kgryte","name":null,"email":"kgryte@gmail.com","url":null,"packages_count":6352,"html_url":"https://www.npmjs.com/~kgryte","role":null,"created_at":"2022-11-11T00:22:05.075Z","updated_at":"2022-11-11T00:22:05.075Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/kgryte/packages"}]}