Feature request: jscodeshift output from arbitrary input

Author: villesauCreated Dec 25, 2022Updated Nov 14, 2024

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.