-
rename(origSrc, fromName, toName) → {string}
-
Replaces every function call named
fromwith another one that is namedto.Example
rename(src, 'log', 'print'); // => log(x) becomes print(x)
Parameters:
Name Type Description origSrcstring the original source
fromNamestring name under which function is currently called
toNamestring name to which the function calls should be renamed
Returns:
source with function calls renamed
- Type
- string
Maintenance
Commit Frequency
Further analysis of the maintenance status of rename-function-calls based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.
An important project maintenance signal to consider for rename-function-calls is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.
