{"id":2517086,"name":"value-or-function","ecosystem":"npm","description":"Normalize a value or function, applying extra args to the function","homepage":"https://github.com/gulpjs/value-or-function#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/gulpjs/value-or-function","keywords_array":["options","normalize","value","function"],"namespace":null,"versions_count":7,"first_release_published_at":"2016-04-01T22:53:01.754Z","latest_release_published_at":"2022-01-30T23:22:05.848Z","latest_release_number":"4.0.0","last_synced_at":"2026-10-15T19:02:58.908Z","created_at":"2022-04-10T02:54:45.429Z","updated_at":"2026-10-15T19:02:58.909Z","registry_url":"https://www.npmjs.com/package/value-or-function","install_command":"npm install value-or-function","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.0.0"},"contentPolicy":null},"repo_metadata":{"id":4825875,"uuid":"48140881","full_name":"gulpjs/value-or-function","owner":"gulpjs","description":"Normalize a value or function, applying extra args to the function","archived":false,"fork":false,"pushed_at":"2026-10-08T21:39:28.000Z","size":77,"stargazers_count":11,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-10-13T10:42:10.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/gulpjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2015-12-16T23:24:57.000Z","updated_at":"2026-10-08T21:38:58.000Z","dependencies_parsed_at":"2023-07-05T17:15:24.957Z","dependency_job_id":null,"html_url":"https://github.com/gulpjs/value-or-function","commit_stats":{"total_commits":30,"total_committers":7,"mean_commits":4.285714285714286,"dds":0.4666666666666667,"last_synced_commit":"314d3d0c2151846517c89616e690dd50815d81b9"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gulpjs/value-or-function","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gulpjs","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/sbom","scorecard":{"id":449196,"data":{"date":"2025-08-11","repo":{"name":"github.com/gulpjs/value-or-function","commit":"314d3d0c2151846517c89616e690dd50815d81b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"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":2,"reason":"Found 8/29 approved changesets -- score normalized to 2","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":"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":"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":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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/value-or-function/dev.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/value-or-function/dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/value-or-function/dev.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/value-or-function/dev.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/value-or-function/dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/value-or-function/dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/value-or-function/release.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/dev.yml:51","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dev.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/gulpjs/.github/SECURITY.md:1","Info: Found linked content: github.com/gulpjs/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/gulpjs/.github/SECURITY.md:1","Info: Found text in security policy: github.com/gulpjs/.github/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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T07:43:00.537Z","repository_id":4825875,"created_at":"2025-08-19T07:43:00.537Z","updated_at":"2025-08-19T07:43:00.537Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343843146,"owners_count":38269344,"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-13T02:00:04.984Z","response_time":52,"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":"gulpjs","name":"gulp","uuid":"6200624","kind":"organization","description":"A toolkit to automate \u0026 enhance your workflow","email":"team@gulpjs.com","website":"https://gulpjs.com","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/6200624?v=4","repositories_count":72,"last_synced_at":"2024-10-29T23:35:55.485Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["gulpjs","phated","yocontra"],"tidelift":"npm/gulp","open_collective":"gulpjs"}},"html_url":"https://github.com/gulpjs","funding_links":["https://github.com/sponsors/gulpjs","https://github.com/sponsors/phated","https://github.com/sponsors/yocontra","https://tidelift.com/funding/github/npm/gulp","https://opencollective.com/gulpjs"],"total_stars":39581,"followers":168,"following":0,"created_at":"2022-11-02T16:19:12.624Z","updated_at":"2024-10-29T23:35:55.486Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gulpjs","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gulpjs/repositories"},"tags":[{"name":"v4.0.0","sha":"2ec5fdbae61826dd3423c435d24b1caf0f7905a2","kind":"commit","published_at":"2022-01-30T23:21:18.000Z","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/v4.0.0","html_url":"https://github.com/gulpjs/value-or-function/releases/tag/v4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gulpjs/value-or-function@v4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v4.0.0/manifests"},{"name":"v3.0.0","sha":"44e5b5808a46a6e22fee66ad2508d2d1a0e1477c","kind":"tag","published_at":"2017-07-21T20:40:39.000Z","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/v3.0.0","html_url":"https://github.com/gulpjs/value-or-function/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gulpjs/value-or-function@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v3.0.0/manifests"},{"name":"v2.0.0","sha":"8a25e8a8b2f0b7cb0cc3991e9c4d58823a7cd079","kind":"tag","published_at":"2016-08-17T22:56:49.000Z","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/v2.0.0","html_url":"https://github.com/gulpjs/value-or-function/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gulpjs/value-or-function@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v2.0.0/manifests"},{"name":"v1.2.1","sha":"4bf80f2da5dd1fc33f82e1f25c989799e91a77bd","kind":"tag","published_at":"2016-07-15T23:28:55.000Z","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/v1.2.1","html_url":"https://github.com/gulpjs/value-or-function/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gulpjs/value-or-function@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"2a51ee6180dbc96dffa50b68e5b638c3f647e71b","kind":"tag","published_at":"2016-06-19T02:04:39.000Z","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/v1.2.0","html_url":"https://github.com/gulpjs/value-or-function/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gulpjs/value-or-function@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"444b78ee7b3d4dad46ce62fe85a756e9d006663a","kind":"tag","published_at":"2016-06-07T22:29:19.000Z","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/v1.1.0","html_url":"https://github.com/gulpjs/value-or-function/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gulpjs/value-or-function@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"b558b61c5cf924ee0b0d924f4fad02597517b6ad","kind":"commit","published_at":"2016-06-07T22:19:13.000Z","download_url":"https://codeload.github.com/gulpjs/value-or-function/tar.gz/v1.0.0","html_url":"https://github.com/gulpjs/value-or-function/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gulpjs/value-or-function@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Fvalue-or-function/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-14T13:07:31.591Z","dependent_packages_count":43,"downloads":12011792,"downloads_period":"last-month","dependent_repos_count":187765,"rankings":{"downloads":0.1063573832935711,"dependent_repos_count":0.07521468226574955,"dependent_packages_count":0.6670557778512516,"stargazers_count":9.448299239803,"forks_count":6.550814990541669,"docker_downloads_count":0.11001140307261793,"average":2.8262922461379762},"purl":"pkg:npm/value-or-function","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/value-or-function","docker_dependents_count":1389,"docker_downloads_count":532583624,"usage_url":"https://repos.ecosyste.ms/usage/npm/value-or-function","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/value-or-function/dependencies","status":null,"funding_links":["https://github.com/sponsors/gulpjs"],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-13T10:03:12.192Z","issues_count":3,"pull_requests_count":14,"avg_time_to_close_issue":1638423.5,"avg_time_to_close_pull_request":7005371.153846154,"issues_closed_count":2,"pull_requests_closed_count":13,"pull_request_authors_count":7,"issue_authors_count":2,"avg_comments_per_issue":3.0,"avg_comments_per_pull_request":4.428571428571429,"merged_pull_requests_count":12,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":1,"past_year_pull_requests_count":1,"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":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.0,"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/gulpjs%2Fvalue-or-function/issues","maintainers":[{"login":"erikkemperman","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/erikkemperman"},{"login":"phated","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/phated"},{"login":"sttk","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sttk"}],"active_maintainers":[{"login":"phated","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/phated"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/value-or-function/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/value-or-function/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/value-or-function/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/value-or-function/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/value-or-function/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/value-or-function/codemeta","maintainers":[{"uuid":"yocontra","login":"yocontra","name":null,"email":"ericbombhax@gmail.com","url":null,"packages_count":282,"html_url":"https://www.npmjs.com/~yocontra","role":null,"created_at":"2022-11-15T06:38:10.200Z","updated_at":"2022-11-15T06:38:10.200Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/yocontra/packages"},{"uuid":"phated","login":"phated","name":null,"email":"blaine.bublitz@gmail.com","url":null,"packages_count":194,"html_url":"https://www.npmjs.com/~phated","role":null,"created_at":"2022-11-15T06:38:10.209Z","updated_at":"2022-11-15T06:38:10.209Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/phated/packages"}]}