Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: jscodeshift output from arbitrary input #687

Open
villesau opened this issue Dec 25, 2022 · 1 comment
Open

Feature request: jscodeshift output from arbitrary input #687

villesau opened this issue Dec 25, 2022 · 1 comment

Comments

@villesau
Copy link

AST explorer is (most?) often used when building jscodeshift codemods. Would be great if the tool supported something like this:

input: a => b
output:

j.arrowFunctionExpression(
  [j.identifier('a')],
  j.identifier('b')
)

This would speed up the development of jscodeshift codemods enormously.

@lxx2013
Copy link

lxx2013 commented Nov 14, 2024

now you can use AI to do this work. such as chatGPT or theb.ai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants