{"id":2599550,"name":"xstate-codegen","ecosystem":"npm","description":"`xstate-codegen` gives you 100% type-safe usage of XState in Typescript. You get type safety on:","homepage":"https://github.com/mattpocock/xstate-codegen#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mattpocock/xstate-codegen","keywords_array":[],"namespace":null,"versions_count":23,"first_release_published_at":"2020-07-30T14:35:39.625Z","latest_release_published_at":"2020-12-19T20:27:54.353Z","latest_release_number":"0.3.0","last_synced_at":"2026-08-09T06:05:28.443Z","created_at":"2022-04-10T04:05:41.926Z","updated_at":"2026-08-09T06:05:28.444Z","registry_url":"https://www.npmjs.com/package/xstate-codegen","install_command":"npm install xstate-codegen","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.3.0","next":"0.1.0-next.8","pr78":"0.4.0-pr78-20214474213"}},"repo_metadata":{"id":42249570,"uuid":"283796947","full_name":"mattpocock/xstate-codegen","owner":"mattpocock","description":"A codegen tool for 100% TS type-safety in XState","archived":true,"fork":false,"pushed_at":"2023-03-05T08:46:02.000Z","size":1637,"stargazers_count":246,"open_issues_count":38,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-08-20T14:54:01.768Z","etag":null,"topics":["cli","codegen","state-machines","typescript","xstate"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mattpocock.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["mattpocock"]}},"created_at":"2020-07-30T14:26:54.000Z","updated_at":"2025-04-27T21:04:54.000Z","dependencies_parsed_at":"2024-01-06T07:56:57.741Z","dependency_job_id":"efe5b1bf-2261-4ab7-8408-e7c41f483449","html_url":"https://github.com/mattpocock/xstate-codegen","commit_stats":{"total_commits":136,"total_committers":10,"mean_commits":13.6,"dds":"0.40441176470588236","last_synced_commit":"98186680d0bb3b96b6199321372bef22d654511c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mattpocock/xstate-codegen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fxstate-codegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fxstate-codegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fxstate-codegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fxstate-codegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattpocock","download_url":"https://codeload.github.com/mattpocock/xstate-codegen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fxstate-codegen/sbom","scorecard":{"id":627889,"data":{"date":"2025-08-11","repo":{"name":"github.com/mattpocock/xstate-codegen","commit":"98186680d0bb3b96b6199321372bef22d654511c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"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":3,"reason":"Found 5/14 approved changesets -- score normalized to 3","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":"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/lint.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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/mattpocock/xstate-codegen/lint.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction 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":"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"38 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","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-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-vfrc-7r7c-w9mx","Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-79jw-6wg7-r9g4","Warn: Project is vulnerable to: GHSA-r5cq-9537-9rpf","Warn: Project is vulnerable to: GHSA-84p7-fh9c-6g8h","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-jv35-xqg7-f92r","Warn: Project is vulnerable to: GHSA-qxg5-2qff-p49r","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-21T06:59:38.266Z","repository_id":42249570,"created_at":"2025-08-21T06:59:38.266Z","updated_at":"2025-08-21T06:59:38.266Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277709776,"owners_count":25863812,"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-30T02:00:09.208Z","response_time":75,"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":"mattpocock","name":"Matt Pocock","uuid":"28293365","kind":"user","description":"TypeScript wizard. Building Total TypeScript - a comprehensive, production-grade TypeScript course.\r\n\r\nEx-Vercel, Stately.","email":"","website":"https://totaltypescript.com","location":"Oxfordshire","twitter":"mattpocockuk","company":"Total TypeScript","icon_url":"https://avatars.githubusercontent.com/u/28293365?u=0d66fa0a2c0a4ec5201818081308c14a43b72fe5\u0026v=4","repositories_count":205,"last_synced_at":"2025-09-27T20:57:56.917Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/mattpocock","funding_links":["https://github.com/sponsors/mattpocock"],"total_stars":15268,"followers":6306,"following":34,"created_at":"2022-11-14T09:25:32.618Z","updated_at":"2025-09-27T20:57:56.917Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattpocock","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattpocock/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-14T21:33:11.913Z","dependent_packages_count":0,"downloads":1021,"downloads_period":"last-month","dependent_repos_count":9,"rankings":{"downloads":6.963875606828525,"dependent_repos_count":3.8791389085724903,"dependent_packages_count":52.00622554356151,"stargazers_count":3.7972598288046604,"forks_count":5.9993287888855535,"docker_downloads_count":null,"average":14.529165735330547},"purl":"pkg:npm/xstate-codegen","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/xstate-codegen","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/xstate-codegen","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/xstate-codegen/dependencies","status":null,"funding_links":["https://github.com/sponsors/mattpocock"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-20T14:45:16.723Z","issues_count":40,"pull_requests_count":60,"avg_time_to_close_issue":4151158.5416666665,"avg_time_to_close_pull_request":5258983.02631579,"issues_closed_count":24,"pull_requests_closed_count":38,"pull_request_authors_count":10,"issue_authors_count":21,"avg_comments_per_issue":5.5,"avg_comments_per_pull_request":2.1166666666666667,"merged_pull_requests_count":25,"bot_issues_count":0,"bot_pull_requests_count":18,"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/mattpocock%2Fxstate-codegen/issues","maintainers":[{"login":"mattpocock","count":21,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mattpocock"},{"login":"Andarist","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Andarist"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/xstate-codegen/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/xstate-codegen/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/xstate-codegen/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/xstate-codegen/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/xstate-codegen/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/xstate-codegen/codemeta","maintainers":[{"uuid":"mpocock","login":"mpocock","name":null,"email":"mpocock@me.com","url":null,"packages_count":47,"html_url":"https://www.npmjs.com/~mpocock","role":null,"created_at":"2022-11-15T13:07:03.664Z","updated_at":"2022-11-15T13:07:03.664Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mpocock/packages"}]}