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 · 0 comments
Open

Feature request: jscodeshift output from arbitrary input #687

villesau opened this issue Dec 25, 2022 · 0 comments

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.

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

1 participant