Ee18e

e18e/@e18e/string.prototype.replaceall

No description available

Legacy
e18emodule-replacement
Public
2 downloads
0 stars
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

String.prototype.replaceAll Codemod

Introduction

This codemod transforms instances of string.prototype.replaceall to the built-in method replaceAll. This replacement helps in removing unnecessary dependencies on external libraries for string manipulation, thereby reducing the bundle size and improving code performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.