Ee18e

e18e/@e18e/string.prototype.trimend

No description available

e18emodule-replacement
Public
8 executions

Run locally

npx codemod @e18e/string.prototype.trimend

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.