{"id":18824017,"url":"https://github.com/eddyerburgh/codemods","last_synced_at":"2026-01-19T17:30:21.593Z","repository":{"id":66094505,"uuid":"131284340","full_name":"eddyerburgh/codemods","owner":"eddyerburgh","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-14T06:52:06.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T04:26:37.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eddyerburgh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-27T10:51:20.000Z","updated_at":"2019-08-23T20:57:59.000Z","dependencies_parsed_at":"2023-05-09T19:32:34.035Z","dependency_job_id":null,"html_url":"https://github.com/eddyerburgh/codemods","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fcodemods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fcodemods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fcodemods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fcodemods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddyerburgh","download_url":"https://codeload.github.com/eddyerburgh/codemods/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239760533,"owners_count":19692335,"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":[],"created_at":"2024-11-08T00:55:23.169Z","updated_at":"2026-01-19T17:30:21.544Z","avatar_url":"https://github.com/eddyerburgh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codemods\n\nThis repository contains a collection of codemod scripts for use with [JSCodeshift](https://github.com/facebook/jscodeshift).\n\n## Usage\n\nInstall jscodeshift:\n\n```\nyarn global add jscodeshift\n```\n\nRun the transform in a project.\n\nReplace `\u003ccodemod-script\u003e` with the path to the script you're running.\n\nReplace `path` with the path of the files to transform.\n\n```\njscodeshift -t \u003ccodemod-script\u003e \u003cpath\u003e\n```\n\n## Scripts\n\n### `remove-anonymous-default-export`\n\nReplaces anonymous default exports using the filename. If the filename is index.js, it will use the parent directory as the filename.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fcodemods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddyerburgh%2Fcodemods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fcodemods/lists"}