{"id":2460059,"name":"throw-utils","ecosystem":"npm","description":"Helpers for error throwing","homepage":"https://github.com/vitalets/throw-utils#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/vitalets/throw-utils","keywords_array":[],"namespace":null,"versions_count":9,"first_release_published_at":"2018-11-22T17:59:55.032Z","latest_release_published_at":"2022-10-21T11:08:25.338Z","latest_release_number":"2.0.0","last_synced_at":"2026-08-03T07:15:16.900Z","created_at":"2022-04-10T02:06:42.331Z","updated_at":"2026-08-03T07:15:57.532Z","registry_url":"https://www.npmjs.com/package/throw-utils","install_command":"npm install throw-utils","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.0"},"contentPolicy":null},"repo_metadata":{"id":55974797,"uuid":"158733745","full_name":"vitalets/throw-utils","owner":"vitalets","description":"Helpers for error throwing","archived":false,"fork":false,"pushed_at":"2022-10-21T11:15:25.000Z","size":391,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T02:54:48.099Z","etag":null,"topics":["throw","throw-errors"],"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/vitalets.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}},"created_at":"2018-11-22T17:46:49.000Z","updated_at":"2023-08-18T09:08:08.000Z","dependencies_parsed_at":"2023-01-20T07:15:16.267Z","dependency_job_id":null,"html_url":"https://github.com/vitalets/throw-utils","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/vitalets/throw-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalets","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/sbom","scorecard":{"id":923926,"data":{"date":"2025-08-11","repo":{"name":"github.com/vitalets/throw-utils","commit":"5e44c2757d66cb8b91c2a278b71e426ae1e127b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/autotests.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":"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":"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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autotests.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vitalets/throw-utils/autotests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autotests.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/vitalets/throw-utils/autotests.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 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":"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":"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":"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":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"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-25T08:45:43.329Z","repository_id":55974797,"created_at":"2025-08-25T08:45:43.329Z","updated_at":"2025-08-25T08:45:43.329Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019590,"owners_count":26086759,"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-14T02:00:06.444Z","response_time":60,"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":"vitalets","name":"Vitaliy Potapov","uuid":"1473072","kind":"user","description":"Full-stack web developer","email":"","website":"https://facebook.com/vitaliy.potapov.56","location":"Armenia","twitter":null,"company":"MedTech","icon_url":"https://avatars.githubusercontent.com/u/1473072?v=4","repositories_count":168,"last_synced_at":"2024-04-14T05:08:41.961Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["vitalets"]}},"html_url":"https://github.com/vitalets","funding_links":["https://github.com/sponsors/vitalets"],"total_stars":20337,"followers":593,"following":7,"created_at":"2022-11-02T16:44:40.132Z","updated_at":"2024-04-14T05:09:13.898Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalets","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalets/repositories"},"tags":[{"name":"v2.0.0","sha":"a91d5037b2df8af2a48c695d0fc6118fca9f15be","kind":"tag","published_at":"2022-10-21T11:08:23.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v2.0.0","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v2.0.0/manifests"},{"name":"v1.2.1","sha":"4ae2d787ff1ea8e0fb09b472d2736a29c84713f3","kind":"tag","published_at":"2020-02-16T10:18:11.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v1.2.1","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"5ad9fca0b6d2111ce3d666cd4ddf8975a47f81e2","kind":"tag","published_at":"2020-02-16T10:12:22.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v1.2.0","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.2.0/manifests"},{"name":"v1.1.1","sha":"fe5e37b3ad3fd2bd866b040100b1866a5013d493","kind":"tag","published_at":"2020-02-15T14:56:30.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v1.1.1","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.1.1/manifests"},{"name":"v1.1.0","sha":"e264eb7a613e68c22ad1b0cda4d3594e39e3e9aa","kind":"tag","published_at":"2020-01-15T10:13:22.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v1.1.0","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"a6c1bfce09d8c86629c58fb3e95853fa7e0dce9f","kind":"tag","published_at":"2020-01-15T08:02:19.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v1.0.0","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v1.0.0/manifests"},{"name":"v0.1.3","sha":"9af2da0471a390c2cd65105afd1baa246908fb8a","kind":"tag","published_at":"2019-06-14T08:46:35.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v0.1.3","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v0.1.3/manifests"},{"name":"v0.1.2","sha":"99f7aeb5b02ffca1e8f33ef2394af8615e8d2467","kind":"tag","published_at":"2019-05-07T17:12:04.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v0.1.2","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"f3cdc58deba7c38a237a94aa3770da74a26489c4","kind":"tag","published_at":"2018-11-22T17:59:52.000Z","download_url":"https://codeload.github.com/vitalets/throw-utils/tar.gz/v0.1.1","html_url":"https://github.com/vitalets/throw-utils/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vitalets/throw-utils@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalets%2Fthrow-utils/tags/v0.1.1/manifests"}]},"repo_metadata_updated_at":"2026-08-03T07:15:57.528Z","dependent_packages_count":3,"downloads":140,"downloads_period":"last-month","dependent_repos_count":6,"rankings":{"downloads":14.249027232979527,"dependent_repos_count":4.641440584517888,"dependent_packages_count":5.9018835679009225,"stargazers_count":11.499972453741963,"forks_count":15.415989127516966,"docker_downloads_count":null,"average":10.341662593331453},"purl":"pkg:npm/throw-utils","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/throw-utils","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/throw-utils","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/throw-utils/dependencies","status":null,"funding_links":["https://github.com/sponsors/vitalets"],"critical":null,"issue_metadata":{"last_synced_at":"2025-07-29T22:34:47.431Z","issues_count":0,"pull_requests_count":6,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":6094161.0,"issues_closed_count":0,"pull_requests_closed_count":6,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":6,"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/vitalets%2Fthrow-utils/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/throw-utils/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/throw-utils/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/throw-utils/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/throw-utils/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/throw-utils/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/throw-utils/codemeta","maintainers":[{"uuid":"vitalets","login":"vitalets","name":null,"email":"noginsk@rambler.ru","url":null,"packages_count":87,"html_url":"https://www.npmjs.com/~vitalets","role":null,"created_at":"2022-11-10T04:26:14.845Z","updated_at":"2022-11-10T04:26:14.845Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/vitalets/packages"}]}