Code transformation
codemod
codemod(name, arguments)
Executes codemod from registry in current working directory.
Parameters
name
string
requiredCodemod name as published in Codemod Registry.
arguments
string | number | boolean | (string | number | boolean)[]
Codemod arguments. Arguments are passed as key-value pair objects.