E

e18e/@e18e/reflect.getprototypeof

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

Reflect.getPrototypeOf Codemod

Introduction

This codemod replaces calls to the reflect.getprototypeof module with the built-in Reflect.getPrototypeOf function. This change helps to eliminate an unnecessary dependency, thereby reducing bundle size and improving code performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.