Ee18e

e18e/@e18e/string.prototype.padleft

No description available

e18emodule-replacement
Public
8 executions

Run locally

npx codemod @e18e/string.prototype.padleft

String.prototype.padLeft Codemod

Introduction

This codemod replaces uses of the String.prototype.padLeft method with the built-in String.prototype.padStart method. The goal is to eliminate the reliance on the less common padLeft method, reducing unnecessary dependencies and simplifying the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.