{"id":1194804,"name":"custom-error","ecosystem":"npm","description":"Create custom errors that inherit Error","homepage":"https://github.com/andrezsanchez/custom-error","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/andrezsanchez/custom-error","keywords_array":["error","inherit","prototype"],"namespace":null,"versions_count":4,"first_release_published_at":"2014-06-14T02:52:54.723Z","latest_release_published_at":"2014-12-29T14:45:41.333Z","latest_release_number":"0.2.1","last_synced_at":"2026-04-04T03:00:55.014Z","created_at":"2022-04-08T13:24:46.869Z","updated_at":"2026-04-04T03:00:55.015Z","registry_url":"https://www.npmjs.com/package/custom-error","install_command":"npm install custom-error","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.2.1"}},"repo_metadata":{"id":57145824,"uuid":"20822131","full_name":"andrezsanchez/custom-error","owner":"andrezsanchez","description":"(UNMAINTAINED) Create custom errors in JavaScript that inherit Error or descendants of Error","archived":false,"fork":false,"pushed_at":"2017-02-08T14:01:01.000Z","size":20,"stargazers_count":24,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T04:15:38.887Z","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/andrezsanchez.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":"2014-06-14T01:06:38.000Z","updated_at":"2022-08-16T15:51:20.000Z","dependencies_parsed_at":"2022-09-06T12:50:42.818Z","dependency_job_id":null,"html_url":"https://github.com/andrezsanchez/custom-error","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/andrezsanchez/custom-error","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezsanchez%2Fcustom-error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezsanchez%2Fcustom-error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezsanchez%2Fcustom-error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezsanchez%2Fcustom-error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrezsanchez","download_url":"https://codeload.github.com/andrezsanchez/custom-error/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezsanchez%2Fcustom-error/sbom","scorecard":{"id":13387,"data":{"date":"2022-08-15","repo":{"name":"github.com/andrezsanchez/custom-error","commit":"1f89d18dcf0b14508fbf276ca2beed809e42d4f7"},"scorecard":{"version":"v4.5.0-17-g7772984","commit":"777298477c07c262a4ec7e95ceee839b7b3b75ae"},"score":4.8,"checks":[{"name":"Code-Review","score":0,"reason":"no reviews found","details":["Warn: no reviews found for commit: 1f89d18dcf0b14508fbf276ca2beed809e42d4f7","Warn: no reviews found for commit: 8df317c414d9ef75230144f26afaf45357e77919","Warn: no reviews found for commit: 0a5b1e1babbab126a324229b53223580149cab10","Warn: no reviews found for commit: ec53280d73981230f538c7eb081a751f7fb9bf8b","Warn: no reviews found for commit: 871580cb63819ad4e9d50889c4fee600bb0bdff7","Warn: no reviews found for commit: 8077075308b5f8cf3958aeb216c49bcd062c9760","Warn: no reviews found for commit: a3d49a22df57d039acbe7576b787a501fde929f6","Warn: no reviews found for commit: 64db66f44601d9b0c1fe1e4d2a26f6583bf1e6af","Warn: no reviews found for commit: 12f6a88ce38cd7cec67b4eb8dbaaaf3795e2e7cf","Warn: no reviews found for commit: 96f4cbb1296696aa863fcb3ce4c9122bba351797","Warn: no reviews found for commit: bd079cedb3d02658d38b14ab25fa63847977946e","Warn: no reviews found for commit: f68d9c530ad012021128930b8394c650858a1901","Warn: no reviews found for commit: e81e900c711342a97324a95f92b9df6fc0f9430d","Warn: no reviews found for commit: f74307391e423246f73eb8cd1e3f903737948e8b","Warn: no reviews found for commit: da3e9876171f4596951801bfd57c3103fd2cf678","Warn: no reviews found for commit: 2a339bee1bbc157b7d1d2fa217a0521cedcc2376","Warn: no reviews found for commit: 224361e9decfb43b12f98ea43916567acc8000f4","Warn: no reviews found for commit: ebc8c008f361964e0f30f6c2d069bf8a5b17e6f1","Warn: no reviews found for commit: b5f7acc9e51054b7cea5b342a010ff8768c6984e","Warn: no reviews found for commit: da5777868a91d8ef76e188c835eb9a5d4b6ae013","Warn: no reviews found for commit: e990dadee22f71a9ac21720516dbed98eb349a0d","Warn: no reviews found for commit: 54d5ceb3ea9b0e5425ba3d5bf6cb672808ad1bb4","Warn: no reviews found for commit: 8f63766a07938fd7a30db989e5677ac62241f657","Warn: no reviews found for commit: ed82f587c77e14d5d2830d89c22a31827a38b3cc","Warn: no reviews found for commit: 3822af8ff671b722aa8d963bf003a19672310a08","Warn: no reviews found for commit: 2079ae6e20cddc1b0ff22456957219cdd6fede1e","Warn: no reviews found for commit: e60a5fd67d4ff71fbf3156cc21e9f2f9214ee868","Warn: no reviews found for commit: e647e57308e144b4783fe67499d0358f26b18e8b","Warn: no reviews found for commit: 651e6abb3b48d475cb774f9ced207424239f1215","Warn: no reviews found for commit: a8c727f74538f0da905f452328311a98be14929c"],"documentation":{"short":"Determines if the project requires code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) out of 30 and 0 issue activity out of 4 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/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no badge detected","details":null,"documentation":{"short":"Determines if the project has a CII Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#cii-best-practices"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":["Warn: no GitHub releases found"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"no vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#vulnerabilities"}},{"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/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#branch-protection"}},{"name":"Packaging","score":-1,"reason":"no published package detected","details":["Warn: no GitHub 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/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info: GitHub-owned GitHubActions are pinned","Info: Third-party GitHubActions are pinned","Info: Dockerfile dependencies are pinned","Info: no insecure (not pinned by hash) dependency downloads found in Dockerfiles","Info: no insecure (not pinned by hash) dependency downloads found in shell scripts"],"documentation":{"short":"Determines if the project has declared and pinned its dependencies.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#pinned-dependencies"}},{"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/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":10,"reason":"tokens are read-only in GitHub workflows","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: : LICENSE:1"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#license"}},{"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/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":null,"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#security-policy"}},{"name":"Dependency-Update-Tool","score":0,"reason":"no update tool detected","details":["Warn: dependabot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others.","Warn: renovatebot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others."],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#dependency-update-tool"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":null,"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#fuzzing"}}]},"last_synced_at":"2025-08-14T15:07:37.964Z","repository_id":57145824,"created_at":"2025-08-14T15:07:37.964Z","updated_at":"2025-08-14T15:07:37.964Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271922286,"owners_count":24844222,"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-08-24T02:00:11.135Z","response_time":111,"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":"andrezsanchez","name":"Andre Z. Sanchez","uuid":"3478034","kind":"user","description":"Web, GIS, graphics, robotics, \u0026 mathematics.","email":"","website":"andrezsanchez.com","location":"Menlo Park, CA","twitter":"andre_zs","company":"Zoox","icon_url":"https://avatars.githubusercontent.com/u/3478034?u=978457ff45120caa03caba58f3e7c1b1114e43e1\u0026v=4","repositories_count":35,"last_synced_at":"2023-08-07T10:21:09.030Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/andrezsanchez","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-06T19:10:51.730Z","updated_at":"2023-08-07T10:21:09.250Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrezsanchez","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrezsanchez/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-12-18T01:22:57.078Z","dependent_packages_count":18,"downloads":14397,"downloads_period":"last-month","dependent_repos_count":74,"rankings":{"downloads":2.0366071779000072,"dependent_repos_count":1.5952452445296004,"dependent_packages_count":1.2895181823101085,"stargazers_count":7.426962070744454,"forks_count":7.7097514569792285,"docker_downloads_count":1.5865045621678602,"average":3.60743144910521},"purl":"pkg:npm/custom-error","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/custom-error","docker_dependents_count":2,"docker_downloads_count":49,"usage_url":"https://repos.ecosyste.ms/usage/npm/custom-error","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/custom-error/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T07:41:47.604Z","issues_count":4,"pull_requests_count":4,"avg_time_to_close_issue":111669135.0,"avg_time_to_close_pull_request":29163847.5,"issues_closed_count":1,"pull_requests_closed_count":4,"pull_request_authors_count":4,"issue_authors_count":2,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":2.5,"merged_pull_requests_count":0,"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/andrezsanchez%2Fcustom-error/issues","maintainers":[{"login":"andrezsanchez","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/andrezsanchez"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/custom-error/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/custom-error/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/custom-error/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/custom-error/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/custom-error/codemeta","maintainers":[{"uuid":"andrezsanchez","login":"andrezsanchez","name":null,"email":"andrezacsanchez@gmail.com","url":null,"packages_count":5,"html_url":"https://www.npmjs.com/~andrezsanchez","role":null,"created_at":"2022-11-10T16:44:11.323Z","updated_at":"2022-11-10T16:44:11.323Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/andrezsanchez/packages"}]}