fkling / fkling/astexplorer

Feature request: jscodeshift output from arbitrary input

Open
#687 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6.5k
Forks
772
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.