codemod(name, arguments)

Executes codemod from registry in current working directory.

Parameters

name
string
required

Codemod name as published in Codemod Registry.

arguments
string | number | boolean | (string | number | boolean)[]

Codemod arguments. Arguments are passed as key-value pair objects.

Returns