E

e18e/@e18e/string.prototype.trimend

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

Introduction

This codemod transforms instances of string.prototype.trimend into the more standardized String.prototype.trimEnd. This change not only aligns the code with current JavaScript standards but also facilitates better performance by using built-in methods without the need for additional dependencies.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.