E

e18e/@e18e/es-set-tostringtag

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-set-tostringtag Codemod

Introduction

This codemod removes the dependency on the es-set-tostringtag package and replaces its usage with the native Object.defineProperty and Symbol.toStringTag. By doing so, it eliminates unnecessary dependencies and leverages built-in ES features, enhancing performance and reducing bundle size.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.