Ee18e

e18e/@e18e/pad-left

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

Pad Left Codemod

Introduction

This codemod replaces the use of the pad-left npm module with the built-in JavaScript String.prototype.padStart method. By removing the import of the external package and utilizing native functionality, this transformation reduces unnecessary dependencies and improves the performance of the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.