@E18e/Number.Issafeinteger

1.0.5Last update Aug 9, 2024
by@e18e

Remove Unnecessary number.issafeinteger Import Codemod

Introduction

This codemod removes the import of the number.issafeinteger module from the codebase as it is no longer necessary. This helps reduce unnecessary dependencies and optimize the bundle size.

Before

import isSafeInteger from 'number.issafeinteger';
if (isSafeInteger(value)) {
// do something with the safe integer
}

After

if (Number.isSafeInteger(value)) {
// do something with the safe integer
}

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now