Ee18e

e18e/@e18e/string.prototype.padright

No description available

e18emodule-replacement
Public
8 executions

Run locally

npx codemod @e18e/string.prototype.padright

String.prototype.padright Codemod

Introduction

This codemod replaces instances of the deprecated String.prototype.padright method with the modern String.prototype.padEnd method. By making this change, we eliminate the necessity of using outdated functionality, helping to streamline the codebase, reduce dependencies, and improve overall performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.