E

e18e/@e18e/function.prototype.name

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

Function.prototype.name Codemod

Introduction

This codemod removes the reliance on the function.prototype.name npm module and replaces its usage with the native name property of functions. This helps in reducing unnecessary dependencies and improving performance by leveraging built-in JavaScript features.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.