E

e18e/@e18e/filter-array

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

Filter Array Codemod

Introduction

This codemod transforms instances of using a custom filterArray function into the built-in Array.prototype.filter method. This change reduces dependency on custom utility functions, leading to a more standardized, efficient codebase and decreased bundle size.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.