Ee18e

e18e/@e18e/is-odd

No description available

e18emodule-replacement
Public
45 executions

Run locally

npx codemod @e18e/is-odd

is-odd Codemod

Introduction

This codemod replaces the use of the is-odd npm module with a more efficient built-in JavaScript expression. It transforms function calls to is-odd into a binary expression that checks if a number is odd, thus reducing unnecessary dependencies and improving performance.

Before

javascript

After

javascript

Ready to evolve your codebase?

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