Ee18e

e18e/@e18e/array.prototype.flat

No description available

e18emodule-replacement
Public
6 executions
0 stars
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

Array.prototype.flat Codemod

Introduction

This codemod replaces instances of the Array.prototype.flatten method with the native Array.prototype.flat method. The goal is to utilize built-in JavaScript features, reducing dependencies and improving performance in the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.