{"id":1002615,"name":"@jfdi/attempt","ecosystem":"npm","description":"Functional error handling implementations for sync \u0026 async, to replace try/catch forever","homepage":"https://github.com/JFDI-Consulting/attempt#readme","licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/JFDI-Consulting/attempt","keywords_array":["fp","functional programming","error handling"],"namespace":"jfdi","versions_count":19,"first_release_published_at":"2021-04-14T14:54:01.153Z","latest_release_published_at":"2026-02-10T13:09:43.024Z","latest_release_number":"1.5.0","latest_published_release_number":null,"last_synced_at":"2026-07-26T09:30:15.625Z","created_at":"2022-04-07T18:59:04.020Z","updated_at":"2026-10-26T12:20:43.865Z","registry_url":"https://www.npmjs.com/package/@jfdi/attempt","install_command":"npm install @jfdi/attempt","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.5.0"}},"repo_metadata":{"id":44633060,"uuid":"357943404","full_name":"JFDI-Consulting/attempt","owner":"JFDI-Consulting","description":"Functional error handling implementations for sync \u0026 async, to replace try/catch forever","archived":false,"fork":false,"pushed_at":"2026-02-10T13:12:51.000Z","size":323,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-08-22T12:28:21.192Z","etag":null,"topics":["cvc","phmr"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JFDI-Consulting.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-14T14:56:35.000Z","updated_at":"2026-02-10T13:12:53.000Z","dependencies_parsed_at":"2024-06-21T16:44:40.979Z","dependency_job_id":"8151f2c2-004c-4133-8fba-b8487565e84f","html_url":"https://github.com/JFDI-Consulting/attempt","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"dadf2fd03b7a829974f290191cc24d6a06122370"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/JFDI-Consulting/attempt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JFDI-Consulting","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/sbom","scorecard":{"id":68818,"data":{"date":"2025-08-11","repo":{"name":"github.com/JFDI-Consulting/attempt","commit":"46608701f62ed1f1f4da3eb44aeb73091714f606"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/22 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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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-15T03:19:32.301Z","repository_id":44633060,"created_at":"2025-08-15T03:19:32.301Z","updated_at":"2025-08-15T03:19:32.301Z"},"funding_links":[],"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":345608443,"owners_count":38556397,"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-26T02:00:06.194Z","response_time":128,"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":"JFDI-Consulting","name":"JFDI Consulting","uuid":"20968071","kind":"organization","description":"Active R\u0026D and software engineering innovation","email":"hello@jfdi.info","website":"jfdi.info","location":"Brighton, UK","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/20968071?v=4","repositories_count":4,"last_synced_at":"2023-03-06T13:34:20.057Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/JFDI-Consulting","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-16T15:56:03.184Z","updated_at":"2023-03-06T13:34:20.059Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JFDI-Consulting","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JFDI-Consulting/repositories"},"tags":[{"name":"v1.3.3","sha":"262d8e98bae2aa4d6a0560114037553f6208bd6c","kind":"commit","published_at":"2023-08-09T09:52:56.000Z","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/v1.3.3","html_url":"https://github.com/JFDI-Consulting/attempt/releases/tag/v1.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JFDI-Consulting/attempt@v1.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.3.3/manifests","release_url":null},{"name":"v1.3.2","sha":"262d8e98bae2aa4d6a0560114037553f6208bd6c","kind":"commit","published_at":"2023-08-09T09:52:56.000Z","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/v1.3.2","html_url":"https://github.com/JFDI-Consulting/attempt/releases/tag/v1.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JFDI-Consulting/attempt@v1.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.3.2/manifests","release_url":null},{"name":"v1.3.1","sha":"1947d0b3a10a63816d65f7ae4a3912e445a6bf75","kind":"commit","published_at":"2023-08-04T12:24:14.000Z","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/v1.3.1","html_url":"https://github.com/JFDI-Consulting/attempt/releases/tag/v1.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JFDI-Consulting/attempt@v1.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.3.1/manifests","release_url":null},{"name":"v1.2.2","sha":"dadf2fd03b7a829974f290191cc24d6a06122370","kind":"commit","published_at":"2023-04-24T19:41:29.000Z","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/v1.2.2","html_url":"https://github.com/JFDI-Consulting/attempt/releases/tag/v1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JFDI-Consulting/attempt@v1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.2.2/manifests","release_url":null},{"name":"v1.2.1","sha":"0dcf0ad91c71ea65eef0501915323f2b2b15d395","kind":"commit","published_at":"2023-04-18T16:08:05.000Z","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/v1.2.1","html_url":"https://github.com/JFDI-Consulting/attempt/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JFDI-Consulting/attempt@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.2.1/manifests","release_url":null},{"name":"v1.1.0","sha":"4cc1e9dab8f4d4b8a7b6116377db0d67da371668","kind":"commit","published_at":"2022-02-03T12:15:59.000Z","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/v1.1.0","html_url":"https://github.com/JFDI-Consulting/attempt/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JFDI-Consulting/attempt@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.1.0/manifests","release_url":null},{"name":"v1.0.4","sha":"56f4b75a27d4af5271b73b3652694d80f3463799","kind":"commit","published_at":"2021-05-21T14:20:00.000Z","download_url":"https://codeload.github.com/JFDI-Consulting/attempt/tar.gz/v1.0.4","html_url":"https://github.com/JFDI-Consulting/attempt/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JFDI-Consulting/attempt@v1.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/tags/v1.0.4/manifests","release_url":null}]},"repo_metadata_updated_at":"2026-10-26T12:20:43.865Z","dependent_packages_count":5,"downloads":394,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":6.76133600756603,"dependent_repos_count":10.393268641254942,"dependent_packages_count":3.7272503047856635,"stargazers_count":11.541827868332593,"forks_count":15.474035080301332,"docker_downloads_count":null,"average":9.579543580448112},"purl":"pkg:npm/%40jfdi/attempt","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@jfdi/attempt","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@jfdi/attempt","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@jfdi/attempt/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-26T12:20:39.434Z","issues_count":0,"pull_requests_count":3,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":2436314.0,"issues_closed_count":0,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":7308165.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"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":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/JFDI-Consulting%2Fattempt/issues","maintainers":[{"login":"abjfdi","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/abjfdi"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jfdi%2Fattempt/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jfdi%2Fattempt/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jfdi%2Fattempt/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jfdi%2Fattempt/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jfdi%2Fattempt/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jfdi%2Fattempt/codemeta","maintainers":[{"uuid":"jfdijoely","login":"jfdijoely","name":null,"email":"jj@jfdi.info","url":null,"packages_count":8,"html_url":"https://www.npmjs.com/~jfdijoely","role":null,"created_at":"2022-11-20T17:51:47.169Z","updated_at":"2022-11-20T17:51:47.169Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jfdijoely/packages"},{"uuid":"austin_breslin","login":"austin_breslin","name":null,"email":"ab@jfdi.info","url":null,"packages_count":8,"html_url":"https://www.npmjs.com/~austin_breslin","role":null,"created_at":"2022-11-20T17:51:47.180Z","updated_at":"2022-11-20T17:51:47.180Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/austin_breslin/packages"},{"uuid":"jonsilver","login":"jonsilver","name":null,"email":"js@jfdi.info","url":null,"packages_count":8,"html_url":"https://www.npmjs.com/~jonsilver","role":null,"created_at":"2022-11-20T17:51:47.219Z","updated_at":"2022-11-20T17:51:47.219Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jonsilver/packages"},{"uuid":"ayeshamanu","login":"ayeshamanu","name":null,"email":"am@jfdi.info","url":null,"packages_count":8,"html_url":"https://www.npmjs.com/~ayeshamanu","role":null,"created_at":"2022-11-20T17:51:47.250Z","updated_at":"2022-11-20T17:51:47.250Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ayeshamanu/packages"}]}