Nnodejs

nodejs/util-extend-to-object-assign

Handle DEP0060 by replacing `util._extend()` with `Object.assign()`.

transformationmigration
Public
0 downloads
1 stars
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._extend DEP0060

This recipe transforms the usage of deprecated util._extend() to use Object.assign().

See DEP0060.

Example

diff

Ready to contribute?

Build your own codemod and share it with the community.