N

nodejs/util-log-to-console-log

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

util.log DEP0059

This recipe transforms the usage of log.util() to use console.log().

See DEP0059.

Example

Before:

js

After:

js

Before:

js

After:

js

Ready to contribute?

Build your own codemod and share it with the community.