Ee18e

e18e/@e18e/string.prototype.replaceall

No description available

e18emodule-replacement
Public
9 executions

Run locally

npx codemod @e18e/string.prototype.replaceall

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.