Ee18e

e18e/@e18e/index-of

No description available

e18emodule-replacement
Public
35 executions

Run locally

npx codemod @e18e/index-of

Index Of Codemod

Introduction

This codemod replaces instances of the index-of array method with the built-in indexOf method. By utilizing native JavaScript features, this transformation reduces dependency on external libraries, improving performance and bundle size.

Before

javascript

After

javascript

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.