E

e18e/@e18e/es-define-property

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

es-define-property Codemod

Introduction

This codemod replaces the use of the es-define-property npm module with the built-in Object.defineProperty method from JavaScript. The goal is to reduce the number of dependencies in the codebase, thereby optimizing bundle size and improving overall performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.