E

e18e/@e18e/es-string-html-methods

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-string-html-methods Codemod

Introduction

This codemod replaces usage of deprecated string HTML methods from the es-string-html-methods package with their corresponding member method calls directly on string instances. By doing this, it eliminates unnecessary imports and reduces dependencies, thereby optimizing bundle size and performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.