E

e18e/@e18e/object.defineproperties

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

object.defineproperties Codemod

Introduction

This codemod replaces instances of the object.defineproperties function with the built-in Object.defineProperties method. This change reduces unnecessary dependencies, leveraging native JavaScript functionality for improved performance and a smaller bundle size.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.