{"id":13532885,"url":"https://github.com/shimohq/generator2async-codemod","last_synced_at":"2025-04-05T21:32:25.187Z","repository":{"id":74464457,"uuid":"100668605","full_name":"shimohq/generator2async-codemod","owner":"shimohq","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-06T04:09:04.000Z","size":49,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-21T12:07:35.538Z","etag":null,"topics":["async","generator","jscodeshift"],"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/shimohq.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":"2017-08-18T03:21:08.000Z","updated_at":"2020-11-24T15:38:45.000Z","dependencies_parsed_at":"2023-06-30T13:15:54.455Z","dependency_job_id":null,"html_url":"https://github.com/shimohq/generator2async-codemod","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/shimohq%2Fgenerator2async-codemod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimohq%2Fgenerator2async-codemod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimohq%2Fgenerator2async-codemod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimohq%2Fgenerator2async-codemod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimohq","download_url":"https://codeload.github.com/shimohq/generator2async-codemod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406082,"owners_count":20933803,"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":["async","generator","jscodeshift"],"created_at":"2024-08-01T07:01:14.601Z","updated_at":"2025-04-05T21:32:24.826Z","avatar_url":"https://github.com/shimohq.png","language":"JavaScript","funding_links":[],"categories":["ESNext"],"sub_categories":[],"readme":"\n# Migrating from generator function to async function\n[![Travis](https://img.shields.io/travis/shimohq/generator2async-codemod.svg)](https://travis-ci.org/shimohq/generator2async-codemod) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nA `jscodeshift` tranformer for migrating generator function to async function\n\n## Usage\n\n```\n$ npm install --global generator2async-codemod\nor\n$ yarn global add generator2async-codemod\n\n$ generator2async \u003cpath\u003e [options]\n\tpath\tFiles or directory to transform. Can be a glob like src/**.test.js\n\tOptions\n\t  --force, -f    Bypass Git safety checks and forcibly run codemods\n\t  --dry, -d      Dry run (no changes are made to files)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimohq%2Fgenerator2async-codemod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimohq%2Fgenerator2async-codemod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimohq%2Fgenerator2async-codemod/lists"}