E

e18e/@e18e/string.prototype.trimstart

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.trimstart Codemod

Introduction

This codemod replaces occurrences of the non-standard string.prototype.trimstart method with the standardized String.prototype.trimStart method. This update improves code consistency and reduces reliance on non-standard features, enhancing overall code quality.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.