Registry
E

e18e/@e18e/number.isinteger

No description available

e18e33 executions

  • Legacy
  • e18e
  • module-replacement
Connect a repo
npx codemod @e18e/number.isinteger

Number IsInteger Codemod

Introduction

This codemod removes the import of the number.isinteger module, replacing its usage with native JavaScript functionality. The goal is to reduce unnecessary dependencies and improve the overall performance of the codebase by leveraging built-in capabilities.

Before

javascript
import number from 'number.isinteger';

const isInteger = number.isInteger(42);

After

javascript
const isInteger = Number.isInteger(42);

Ready to evolve your codebase?

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