Code transformation
jscodeshift
jscodeshift(callback)
Runs jscodeshift transformation on the file.
Parameters
callback
CallbackFunction
requiredCallback replicates jscodeshift API, so any codemod created with jscodeshift can be used here.