{"id":2140588,"name":"optional-js","ecosystem":"npm","description":"Optionals for JS - wrapper for possibly undefined values, inspired by Java Optional API","homepage":"https://github.com/JasonStorey/Optional.js","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/JasonStorey/Optional.js","keywords_array":["optional","java","javascript"],"namespace":null,"versions_count":19,"first_release_published_at":"2015-02-17T02:17:49.867Z","latest_release_published_at":"2020-07-22T21:01:42.947Z","latest_release_number":"2.3.0","last_synced_at":"2026-09-30T02:27:06.853Z","created_at":"2022-04-09T21:34:13.631Z","updated_at":"2026-09-30T02:27:06.854Z","registry_url":"https://www.npmjs.com/package/optional-js","install_command":"npm install optional-js","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.3.0"},"contentPolicy":null},"repo_metadata":{"id":27364133,"uuid":"30839575","full_name":"JasonStorey/Optional.js","owner":"JasonStorey","description":"Java Optionals for JS","archived":false,"fork":false,"pushed_at":"2022-06-22T05:49:17.000Z","size":279,"stargazers_count":76,"open_issues_count":21,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-02-03T22:33:02.174Z","etag":null,"topics":[],"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/JasonStorey.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":"2015-02-15T19:47:50.000Z","updated_at":"2024-05-13T13:59:26.000Z","dependencies_parsed_at":"2022-09-18T20:52:50.753Z","dependency_job_id":null,"html_url":"https://github.com/JasonStorey/Optional.js","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/JasonStorey/Optional.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonStorey","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/sbom","scorecard":{"id":71197,"data":{"date":"2025-08-11","repo":{"name":"github.com/JasonStorey/Optional.js","commit":"6467afc5788f2426ed4d3318991dd777364203d2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":1,"reason":"Found 3/20 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.1.0 not signed: https://api.github.com/repos/JasonStorey/Optional.js/releases/16751147","Warn: release artifact v1.2.1 not signed: https://api.github.com/repos/JasonStorey/Optional.js/releases/4811838","Warn: release artifact v1.2.0 not signed: https://api.github.com/repos/JasonStorey/Optional.js/releases/4328276","Warn: release artifact v1.1.2 not signed: https://api.github.com/repos/JasonStorey/Optional.js/releases/2867774","Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/JasonStorey/Optional.js/releases/2590585","Warn: release artifact v2.1.0 does not have provenance: https://api.github.com/repos/JasonStorey/Optional.js/releases/16751147","Warn: release artifact v1.2.1 does not have provenance: https://api.github.com/repos/JasonStorey/Optional.js/releases/4811838","Warn: release artifact v1.2.0 does not have provenance: https://api.github.com/repos/JasonStorey/Optional.js/releases/4328276","Warn: release artifact v1.1.2 does not have provenance: https://api.github.com/repos/JasonStorey/Optional.js/releases/2867774","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/JasonStorey/Optional.js/releases/2590585"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 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"}},{"name":"Vulnerabilities","score":0,"reason":"28 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-wg6g-ppvx-927h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","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-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"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-15T03:50:44.664Z","repository_id":27364133,"created_at":"2025-08-15T03:50:44.664Z","updated_at":"2025-08-15T03:50:44.664Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36248511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-03T02:00:06.975Z","response_time":56,"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":"JasonStorey","name":"Jason S","uuid":"531286","kind":"user","description":"","email":"","website":null,"location":"London","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/531286?u=4c5624c9fe966d7157cd69f96790e9f44e702e95\u0026v=4","repositories_count":57,"last_synced_at":"2024-04-15T11:39:35.597Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/JasonStorey","funding_links":[],"total_stars":129,"followers":21,"following":43,"created_at":"2022-11-03T19:50:35.968Z","updated_at":"2024-04-15T11:39:44.718Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonStorey","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonStorey/repositories"},"tags":[{"name":"v2.1.0","sha":"b2ef7b57cdf6b99eec09d833a6b12ca1fe31be93","kind":"commit","published_at":"2019-04-14T16:39:58.000Z","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/v2.1.0","html_url":"https://github.com/JasonStorey/Optional.js/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JasonStorey/Optional.js@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v2.1.0/manifests"},{"name":"v1.2.1","sha":"da4e42b57e8132783839d5e99f142c47c9e9c9d3","kind":"commit","published_at":"2016-12-01T23:21:06.000Z","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/v1.2.1","html_url":"https://github.com/JasonStorey/Optional.js/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JasonStorey/Optional.js@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"350e946a8f61cf27ec4be4ea39108a183871c745","kind":"commit","published_at":"2016-10-06T22:59:30.000Z","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/v1.2.0","html_url":"https://github.com/JasonStorey/Optional.js/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JasonStorey/Optional.js@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.2.0/manifests"},{"name":"v1.1.2","sha":"29946c88c3262e240b9be20f51e9fd20e37fcba0","kind":"commit","published_at":"2016-03-22T22:38:04.000Z","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/v1.1.2","html_url":"https://github.com/JasonStorey/Optional.js/releases/tag/v1.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JasonStorey/Optional.js@v1.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.1.2/manifests"},{"name":"v1.1.1","sha":"6a0ceef6f8622ff711ee6b2e9eaa03c1200da202","kind":"commit","published_at":"2016-02-10T22:39:41.000Z","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/v1.1.1","html_url":"https://github.com/JasonStorey/Optional.js/releases/tag/v1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JasonStorey/Optional.js@v1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.1.1/manifests"},{"name":"v1.0.1","sha":"5203de3a560e4eb79ea24c81c0bfb5929ddc87ca","kind":"commit","published_at":"2015-05-17T18:21:03.000Z","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/v1.0.1","html_url":"https://github.com/JasonStorey/Optional.js/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JasonStorey/Optional.js@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v1.0.1/manifests"},{"name":"v0.1.6","sha":"878051326c16991b83db4c7f5ef0cf7332413ad2","kind":"commit","published_at":"2015-03-10T20:46:57.000Z","download_url":"https://codeload.github.com/JasonStorey/Optional.js/tar.gz/v0.1.6","html_url":"https://github.com/JasonStorey/Optional.js/releases/tag/v0.1.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JasonStorey/Optional.js@v0.1.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v0.1.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonStorey%2FOptional.js/tags/v0.1.6/manifests"}]},"repo_metadata_updated_at":"2026-08-03T19:03:34.741Z","dependent_packages_count":19,"downloads":1735978,"downloads_period":"last-month","dependent_repos_count":835,"rankings":{"downloads":0.2416223350436421,"dependent_repos_count":0.6371496716981175,"dependent_packages_count":1.2397627082143767,"stargazers_count":5.36611360221518,"forks_count":7.721637647164643,"docker_downloads_count":0.12026311174267122,"average":2.5544248460131054},"purl":"pkg:npm/optional-js","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/optional-js","docker_dependents_count":311,"docker_downloads_count":233946175,"usage_url":"https://repos.ecosyste.ms/usage/npm/optional-js","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/optional-js/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-02-03T11:09:41.217Z","issues_count":16,"pull_requests_count":25,"avg_time_to_close_issue":20336366.285714287,"avg_time_to_close_pull_request":15565215.538461538,"issues_closed_count":7,"pull_requests_closed_count":13,"pull_request_authors_count":8,"issue_authors_count":13,"avg_comments_per_issue":1.625,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":10,"past_year_issues_count":0,"past_year_pull_requests_count":2,"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":0,"past_year_avg_comments_per_issue":null,"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/JasonStorey%2FOptional.js/issues","maintainers":[{"login":"JasonStorey","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JasonStorey"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional-js/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional-js/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional-js/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional-js/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional-js/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional-js/codemeta","maintainers":[{"uuid":"jasonstorey","login":"jasonstorey","name":null,"email":"jason.andrew.storey@gmail.com","url":null,"packages_count":2,"html_url":"https://www.npmjs.com/~jasonstorey","role":null,"created_at":"2022-11-10T19:21:31.757Z","updated_at":"2022-11-10T19:21:31.757Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jasonstorey/packages"}]}