{"id":14008964,"name":"typedswitch","ecosystem":"npm","description":"A type-safe, exhaustive switch expression for TypeScript discriminated unions and string literals","homepage":"https://github.com/HansKristoffer/typedswitch#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/HansKristoffer/typedswitch","keywords_array":["typescript","switch","discriminated-union","pattern-matching","type-safe","exhaustive","union-types","match","case"],"namespace":null,"versions_count":3,"first_release_published_at":"2026-03-06T12:47:53.437Z","latest_release_published_at":"2026-04-26T16:16:37.064Z","latest_release_number":"1.0.3","last_synced_at":"2026-08-29T03:00:23.913Z","created_at":"2026-03-08T01:24:21.561Z","updated_at":"2026-10-16T03:48:17.285Z","registry_url":"https://www.npmjs.com/package/typedswitch","install_command":"npm install typedswitch","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.3"},"contentPolicy":null},"repo_metadata":{"id":353978111,"uuid":"1174437865","full_name":"HansKristoffer/typedswitch","owner":"HansKristoffer","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-26T16:25:46.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-08-29T02:45:41.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/HansKristoffer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-06T12:48:42.000Z","updated_at":"2026-04-26T16:25:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b84bf8f-3600-4e0b-989e-af8c3e8abc7e","html_url":"https://github.com/HansKristoffer/typedswitch","commit_stats":null,"previous_names":["hanskristoffer/typedswitch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HansKristoffer/typedswitch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HansKristoffer%2Ftypedswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HansKristoffer%2Ftypedswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HansKristoffer%2Ftypedswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HansKristoffer%2Ftypedswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HansKristoffer","download_url":"https://codeload.github.com/HansKristoffer/typedswitch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HansKristoffer%2Ftypedswitch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344836268,"owners_count":38330447,"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-16T02:00:06.653Z","response_time":55,"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":"HansKristoffer","name":"Hans Kristoffer","uuid":"8282066","kind":"user","description":"","email":"","website":"https://hanskristoffer.dk","location":"Denmark","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/8282066?u=28bdbb51528887ddedef9944d142afbfe6fe151a\u0026v=4","repositories_count":1,"last_synced_at":"2026-02-14T14:31:36.250Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/HansKristoffer","funding_links":[],"total_stars":null,"followers":0,"following":1,"created_at":"2023-12-13T22:11:25.075Z","updated_at":"2026-02-14T14:31:36.250Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HansKristoffer","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HansKristoffer/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-10-16T03:48:17.284Z","dependent_packages_count":0,"downloads":71,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":13.590847918334454,"dependent_repos_count":22.54407539762079,"dependent_packages_count":32.495487481220906,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":22.876803599058718},"purl":"pkg:npm/typedswitch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/typedswitch","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/typedswitch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/typedswitch/dependencies","status":"deprecated","funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typedswitch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typedswitch/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typedswitch/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typedswitch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typedswitch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typedswitch/codemeta","maintainers":[{"uuid":"hanskristoffer","login":"hanskristoffer","name":null,"email":"hk@anyhow.dk","url":null,"packages_count":17,"html_url":"https://www.npmjs.com/~hanskristoffer","role":null,"created_at":"2026-03-08T01:24:23.390Z","updated_at":"2026-03-08T01:24:23.390Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hanskristoffer/packages"}]}