{"id":5445311,"name":"modern-errors-switch","ecosystem":"npm","description":"`modern-errors` plugin to execute class-specific logic","homepage":"https://www.github.com/ehmicky/modern-errors-switch","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/ehmicky/modern-errors-switch","keywords_array":["catch","class","classes","errors","inheritance","instanceof","javascript","library","mapping","message","modern-errors","modern-errors-plugin","nodejs","plugins","select","switch","switch-case","switch-case-statements","typescript","wrapper"],"namespace":null,"versions_count":8,"first_release_published_at":"2022-11-21T14:55:24.089Z","latest_release_published_at":"2025-05-24T02:08:47.439Z","latest_release_number":"4.1.0","last_synced_at":"2026-09-17T11:46:09.503Z","created_at":"2022-11-23T00:22:55.171Z","updated_at":"2026-09-18T16:32:27.886Z","registry_url":"https://www.npmjs.com/package/modern-errors-switch","install_command":"npm install modern-errors-switch","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.1.0"},"contentPolicy":null},"repo_metadata":{"id":63573048,"uuid":"568541705","full_name":"ehmicky/modern-errors-switch","owner":"ehmicky","description":"`modern-errors` plugin to execute class-specific logic.","archived":false,"fork":false,"pushed_at":"2026-09-13T16:28:10.000Z","size":4022,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-17T05:55:53.073Z","etag":null,"topics":["catch","class","classes","errors","inheritance","instanceof","javascript","library","mapping","message","modern-errors","modern-errors-plugin","nodejs","plugins","select","switch","switch-case","switch-case-statements","typescript","wrapper"],"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/ehmicky.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-20T21:01:20.000Z","updated_at":"2026-09-13T16:28:06.000Z","dependencies_parsed_at":"2024-08-23T23:34:48.655Z","dependency_job_id":"f3ba3cc6-e897-4ce3-8074-6c2f4df65919","html_url":"https://github.com/ehmicky/modern-errors-switch","commit_stats":{"total_commits":163,"total_committers":3,"mean_commits":"54.333333333333336","dds":"0.018404907975460127","last_synced_commit":"4be85a8da79b9543e80164d5fd23ab55605d2907"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":"ehmicky/template-javascript","purl":"pkg:github/ehmicky/modern-errors-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehmicky","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37432767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-18T02:00:15.364Z","response_time":89,"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":"ehmicky","name":"ehmicky","uuid":"8136211","kind":"user","description":"Node.js back-end developer\r\n","email":"","website":"https://fosstodon.org/@ehmicky","location":"Remote","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/8136211?u=4aa44e4c8b7383e7772a690b13f24e2c92fed719\u0026v=4","repositories_count":95,"last_synced_at":"2026-09-16T23:45:41.880Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/ehmicky","funding_links":[],"total_stars":6827,"followers":447,"following":0,"created_at":"2022-11-02T16:20:33.623Z","updated_at":"2026-09-16T23:45:41.897Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehmicky","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehmicky/repositories"},"tags":[{"name":"4.1.0","sha":"f805dfcfc708ea817fae0efeb92b6e1ab345cb98","kind":"tag","published_at":"2025-05-18T17:15:42.000Z","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/4.1.0","html_url":"https://github.com/ehmicky/modern-errors-switch/releases/tag/4.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ehmicky/modern-errors-switch@4.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/4.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/4.1.0/manifests"},{"name":"4.0.1","sha":"86d0efc0b0fc90fb5ac4bba9f7423ae4522d10f4","kind":"tag","published_at":"2025-03-23T18:17:22.000Z","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/4.0.1","html_url":"https://github.com/ehmicky/modern-errors-switch/releases/tag/4.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ehmicky/modern-errors-switch@4.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/4.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/4.0.1/manifests"},{"name":"4.0.0","sha":"ccb607e4168079fc469afb984ce7e1bb9a67ab14","kind":"tag","published_at":"2023-10-22T18:57:54.000Z","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/4.0.0","html_url":"https://github.com/ehmicky/modern-errors-switch/releases/tag/4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ehmicky/modern-errors-switch@4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/4.0.0/manifests"},{"name":"3.0.0","sha":"219fe27b70845bdd70f849f87db67e6fe538a069","kind":"tag","published_at":"2023-05-07T19:09:42.000Z","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/3.0.0","html_url":"https://github.com/ehmicky/modern-errors-switch/releases/tag/3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ehmicky/modern-errors-switch@3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/3.0.0/manifests"},{"name":"2.0.0","sha":"f2ec27cfddffd0c68ecb79f9230c3678f0c1d578","kind":"tag","published_at":"2023-05-07T19:05:15.000Z","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/2.0.0","html_url":"https://github.com/ehmicky/modern-errors-switch/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ehmicky/modern-errors-switch@2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/2.0.0/manifests"},{"name":"1.0.0","sha":"cf26016b1f290a9980180a584a21be4f00cfbb07","kind":"tag","published_at":"2022-11-20T22:19:37.000Z","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/1.0.0","html_url":"https://github.com/ehmicky/modern-errors-switch/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ehmicky/modern-errors-switch@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/1.0.0/manifests"},{"name":"1.0.1","sha":"c85f6093f1e8a1f843015e75a0fd5cc92ade7336","kind":"tag","published_at":"2022-11-20T12:32:16.000Z","download_url":"https://codeload.github.com/ehmicky/modern-errors-switch/tar.gz/1.0.1","html_url":"https://github.com/ehmicky/modern-errors-switch/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ehmicky/modern-errors-switch@1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/tags/1.0.1/manifests"}]},"repo_metadata_updated_at":"2026-09-18T16:32:27.885Z","dependent_packages_count":3,"downloads":484,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":5.507297256773814,"dependent_repos_count":10.352844454248336,"dependent_packages_count":5.909706194415378,"stargazers_count":11.511590708750788,"forks_count":15.43149453300609,"docker_downloads_count":null,"average":9.74258662943888},"purl":"pkg:npm/modern-errors-switch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/modern-errors-switch","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/modern-errors-switch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/modern-errors-switch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-14T22:38:13.415Z","issues_count":0,"pull_requests_count":26,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":65725.76923076923,"issues_closed_count":0,"pull_requests_closed_count":26,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.4230769230769231,"merged_pull_requests_count":19,"bot_issues_count":0,"bot_pull_requests_count":26,"past_year_issues_count":0,"past_year_pull_requests_count":13,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":49892.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":13,"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.07692307692307693,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":13,"past_year_merged_pull_requests_count":12,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehmicky%2Fmodern-errors-switch/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/modern-errors-switch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/modern-errors-switch/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/modern-errors-switch/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/modern-errors-switch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/modern-errors-switch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/modern-errors-switch/codemeta","maintainers":[{"uuid":"ehmicky","login":"ehmicky","name":null,"email":"ehmicky@gmail.com","url":null,"packages_count":90,"html_url":"https://www.npmjs.com/~ehmicky","role":null,"created_at":"2022-11-23T00:44:07.121Z","updated_at":"2022-11-23T00:44:07.121Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ehmicky/packages"}]}