{"id":1435552,"name":"assert-throws","ecosystem":"npm","description":"An assertion method to check if a sync or async function throws and assert on error properties.","homepage":"https://github.com/artdecocode/assert-throws#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/artdecocode/assert-throws","keywords_array":["assert-throws","assertion","throws","throw","error","try","catch"],"namespace":null,"versions_count":14,"first_release_published_at":"2017-12-31T03:16:38.326Z","latest_release_published_at":"2019-04-30T16:23:39.160Z","latest_release_number":"3.3.0","last_synced_at":"2026-04-23T13:50:24.322Z","created_at":"2022-04-09T01:04:25.722Z","updated_at":"2026-04-23T13:50:24.322Z","registry_url":"https://www.npmjs.com/package/assert-throws","install_command":"npm install assert-throws","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.3.0"}},"repo_metadata":{"id":57185051,"uuid":"115836029","full_name":"artdecocode/assert-throws","owner":"artdecocode","description":"A JavaScript assertion method to check if a function throws.","archived":false,"fork":false,"pushed_at":"2019-04-30T16:23:48.000Z","size":138,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T05:29:07.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://artdeco.bz/assert-throws","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/artdecocode.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}},"created_at":"2017-12-31T01:45:50.000Z","updated_at":"2019-05-03T20:51:48.000Z","dependencies_parsed_at":"2022-09-14T09:01:15.376Z","dependency_job_id":null,"html_url":"https://github.com/artdecocode/assert-throws","commit_stats":null,"previous_names":["sobesednik/assert-throws"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/artdecocode/assert-throws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fassert-throws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fassert-throws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fassert-throws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fassert-throws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artdecocode","download_url":"https://codeload.github.com/artdecocode/assert-throws/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fassert-throws/sbom","scorecard":{"id":208870,"data":{"date":"2025-08-11","repo":{"name":"github.com/artdecocode/assert-throws","commit":"427037452b826831673b4cb1b0f43640750e49f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"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":"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":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":"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":"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":"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":"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":"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"}}]},"last_synced_at":"2025-08-17T00:20:59.318Z","repository_id":57185051,"created_at":"2025-08-17T00:20:59.318Z","updated_at":"2025-08-17T00:20:59.318Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275883245,"owners_count":25545492,"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-09-19T02:00:09.700Z","response_time":108,"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":"artdecocode","name":"Art Deco™","uuid":"38815725","kind":"organization","description":"Modern Node.JS In Cloud And Tools For Developers.","email":"github@artd.eco","website":"www.artd.eco","location":"London","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/38815725?v=4","repositories_count":42,"last_synced_at":"2023-03-10T15:10:32.577Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/artdecocode","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-02-14T18:40:28.411Z","updated_at":"2023-03-10T15:10:32.596Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artdecocode","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artdecocode/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-12-25T01:39:17.955Z","dependent_packages_count":5,"downloads":37,"downloads_period":"last-month","dependent_repos_count":47,"rankings":{"downloads":13.205349790976006,"dependent_repos_count":1.9683625979679629,"dependent_packages_count":4.575952122087318,"stargazers_count":14.86533062624806,"forks_count":15.797072635811585,"docker_downloads_count":null,"average":10.082413554618187},"purl":"pkg:npm/assert-throws","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/assert-throws","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/assert-throws","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/assert-throws/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-16T08:59:46.927Z","issues_count":1,"pull_requests_count":4,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":3216.25,"issues_closed_count":0,"pull_requests_closed_count":4,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":0.0,"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/artdecocode%2Fassert-throws/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/assert-throws/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/assert-throws/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/assert-throws/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/assert-throws/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/assert-throws/codemeta","maintainers":[{"uuid":"zvr","login":"zvr","name":null,"email":"anton@adc.sh","url":null,"packages_count":223,"html_url":"https://www.npmjs.com/~zvr","role":null,"created_at":"2022-11-11T12:18:45.093Z","updated_at":"2022-11-11T12:18:45.093Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/zvr/packages"}]}