{"id":2140567,"name":"optional","ecosystem":"npm","description":"Allows you to optionally include modules without surrounding everything with 'try/catch'","homepage":"http://segomos.com/","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/tony-o/node-optional","keywords_array":["include","optional include","optional","require","exists"],"namespace":null,"versions_count":7,"first_release_published_at":"2013-01-18T06:15:12.622Z","latest_release_published_at":"2017-07-13T16:31:10.294Z","latest_release_number":"0.1.4","last_synced_at":"2026-09-19T20:34:57.118Z","created_at":"2022-04-09T21:34:12.320Z","updated_at":"2026-09-19T20:34:57.118Z","registry_url":"https://www.npmjs.com/package/optional","install_command":"npm install optional","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.1.4"},"contentPolicy":null},"repo_metadata":{"id":6442178,"uuid":"7681439","full_name":"tony-o/node-optional","owner":"tony-o","description":"NodeJS module to let you optionally include modules (instead of 'require')","archived":false,"fork":false,"pushed_at":"2018-08-13T17:59:34.000Z","size":6,"stargazers_count":18,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-07-30T10:00:49.133Z","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/tony-o.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":"2013-01-18T06:06:49.000Z","updated_at":"2022-09-29T05:52:52.000Z","dependencies_parsed_at":"2022-07-21T13:02:31.791Z","dependency_job_id":null,"html_url":"https://github.com/tony-o/node-optional","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tony-o/node-optional","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-o%2Fnode-optional","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-o%2Fnode-optional/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-o%2Fnode-optional/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-o%2Fnode-optional/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tony-o","download_url":"https://codeload.github.com/tony-o/node-optional/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-o%2Fnode-optional/sbom","scorecard":{"id":893761,"data":{"date":"2025-08-11","repo":{"name":"github.com/tony-o/node-optional","commit":"b2bb6c6d08da8efb881b887a937bf9c3b44cb512"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 4/15 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":"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":"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":"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":"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":"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":"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":"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":"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 6 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-24T12:53:21.065Z","repository_id":6442178,"created_at":"2025-08-24T12:53:21.066Z","updated_at":"2025-08-24T12:53:21.066Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36793944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-20T02:00:06.210Z","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":"tony-o","name":"tony-o","uuid":"2029968","kind":"user","description":"","email":"","website":"http://deathbykeystroke.com","location":"Oregon","twitter":"oynoto","company":"zef","icon_url":"https://avatars.githubusercontent.com/u/2029968?u=18dc0877a7bb6dc7a46e55339cc587ecd7be20fe\u0026v=4","repositories_count":166,"last_synced_at":"2024-04-15T11:06:21.270Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/tony-o","funding_links":["https://github.com/sponsors/tony-o"],"total_stars":340,"followers":44,"following":9,"created_at":"2022-11-02T16:24:12.824Z","updated_at":"2024-04-15T11:06:50.848Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tony-o","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tony-o/repositories"},"tags":[{"name":"0.1.3","sha":"c5b345c936fd8f6b301bea2b3b45ab337309c4d0","kind":"commit","published_at":"2015-02-26T17:12:21.000Z","download_url":"https://codeload.github.com/tony-o/node-optional/tar.gz/0.1.3","html_url":"https://github.com/tony-o/node-optional/releases/tag/0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/tony-o/node-optional@0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-o%2Fnode-optional/tags/0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-o%2Fnode-optional/tags/0.1.3/manifests"}]},"repo_metadata_updated_at":"2026-08-21T19:22:22.542Z","dependent_packages_count":138,"downloads":1564179,"downloads_period":"last-month","dependent_repos_count":60840,"rankings":{"downloads":0.1738229787458838,"dependent_repos_count":0.12414321372442848,"dependent_packages_count":0.2919877450009287,"stargazers_count":8.029793764227868,"forks_count":7.3349349485498205,"docker_downloads_count":0.10989681051974644,"average":2.677429910128113},"purl":"pkg:npm/optional","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/optional","docker_dependents_count":673,"docker_downloads_count":373476694,"usage_url":"https://repos.ecosyste.ms/usage/npm/optional","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/optional/dependencies","status":null,"funding_links":["https://github.com/sponsors/tony-o"],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-21T01:20:13.788Z","issues_count":7,"pull_requests_count":5,"avg_time_to_close_issue":1921576.4,"avg_time_to_close_pull_request":551970.4,"issues_closed_count":5,"pull_requests_closed_count":5,"pull_request_authors_count":5,"issue_authors_count":6,"avg_comments_per_issue":4.142857142857143,"avg_comments_per_pull_request":1.4,"merged_pull_requests_count":4,"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/tony-o%2Fnode-optional/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/optional/codemeta","maintainers":[{"uuid":"segomos","login":"segomos","name":null,"email":"tonyo@segomos.com","url":null,"packages_count":9,"html_url":"https://www.npmjs.com/~segomos","role":null,"created_at":"2022-11-10T19:21:30.574Z","updated_at":"2022-11-10T19:21:30.574Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/segomos/packages"}]}