E

e18e/@e18e/string.prototype.repeat

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

Replace for-each with Array.prototype.forEach

Introduction

This codemod replaces the usage of the for-each npm package with the built-in Array.prototype.forEach method. The goal is to minimize dependencies and utilize native JavaScript functions, ultimately improving performance and reducing bundle size.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.