Ee18e

e18e/@e18e/pad-left

No description available

e18emodule-replacement
Public
8 executions
Run locally
npx codemod @e18e/pad-left
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.