Ee18e

e18e/@e18e/left-pad

No description available

e18emodule-replacement
Public
32 executions

Run locally

npx codemod @e18e/left-pad

Left Pad Codemod

Introduction

This codemod removes the left-pad dependency from the codebase and replaces its usage with the built-in String.prototype.padStart method. This change helps reduce unnecessary dependencies and bundle size while leveraging native JavaScript features for improved performance.

Before

javascript

After

javascript

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.