E

e18e/@e18e/string.prototype.padstart

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 PadStart Codemod

Introduction

This codemod replaces the outdated use of string.prototype.padstart with the modern padStart method. This update improves code readability and ensures the use of native JavaScript features, which can help reduce bundle size and enhance performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.