E

e18e/@e18e/array-includes

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 Includes Codemod

Introduction

This codemod replaces instances of the array-includes library with the built-in Array.prototype.includes method. This transformation reduces unnecessary dependencies by leveraging native JavaScript features, thereby optimizing the codebase and potentially improving performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.