E

e18e/@e18e/is-even

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

is-even Codemod

Introduction

This codemod removes the dependency on the is-even npm module by replacing its usage with a native JavaScript expression that checks if a number is even. This change optimizes performance, reduces bundle size, and eliminates unnecessary dependencies.

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.