E

e18e/@e18e/array.prototype.find

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

Introduction

This codemod replaces instances of using a custom implementation to find elements in an array with the built-in Array.prototype.find method. By utilizing native JavaScript features, it reduces unnecessary dependencies and improves the performance and readability of the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.