{"id":15391501,"url":"https://github.com/skovy/typescript-codemod-examples","last_synced_at":"2026-04-28T08:39:18.431Z","repository":{"id":91751347,"uuid":"319847333","full_name":"skovy/typescript-codemod-examples","owner":"skovy","description":"Examples of code audits and code transforms (codemods) written in TypeScript","archived":false,"fork":false,"pushed_at":"2021-01-18T21:01:11.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T01:26:44.020Z","etag":null,"topics":["abstract-syntax-tree","audit","babel","codemod","jscodeshift","typescript"],"latest_commit_sha":null,"homepage":"https://skovy.dev/codemod-workflow","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/skovy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":"audit.ts","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-09T05:02:00.000Z","updated_at":"2021-03-21T14:06:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"9229b2dc-aec6-4215-ba99-661215db6b3e","html_url":"https://github.com/skovy/typescript-codemod-examples","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"1212fabe239f923f48257a2f64d09b0667873980"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Ftypescript-codemod-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Ftypescript-codemod-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Ftypescript-codemod-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skovy%2Ftypescript-codemod-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skovy","download_url":"https://codeload.github.com/skovy/typescript-codemod-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245938679,"owners_count":20697077,"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","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"}},"keywords":["abstract-syntax-tree","audit","babel","codemod","jscodeshift","typescript"],"created_at":"2024-10-01T15:11:30.616Z","updated_at":"2026-04-28T08:39:13.394Z","avatar_url":"https://github.com/skovy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript Codemod Examples\n\nThis repository contains a basic sample codebase\ndealing with brewing coffee. This codebase can then\nbe audited and codemodded:\n\n- `yarn run audit` - executes `audit.ts`\n- `yarn codemod` - executes `transform.ts`\n\nThis code audit and codemod are written in TypeScript\nto take advantage of the type-safety. Particularly,\nmaking sure the AST `node` properties are properly narrowed \nby it's `type` to prevent runtime errors.\n\nThis is the complete code used in the blog post\ncovering this in more depth: https://skovy.dev/codemod-workflow","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskovy%2Ftypescript-codemod-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskovy%2Ftypescript-codemod-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskovy%2Ftypescript-codemod-examples/lists"}