facebook / facebook/jscodeshift

More collections like VariableDeclarators and JSXElement

Open
#365 0 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
JavaScript
Stars
10k
Forks
498
PR merge metrics
No merged PRs in 30d

Description

I would like to have more Collections for jscodeshift like VariableDeclarators and JSXElement.
Say for example I want to rename some functions , I can use:
```js
j.findFunctionDeclarations('foo')
.renameTo('bar')
.addParams('baz')
.removeParams('xyz')
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.