E

e18e/@e18e/number.isnan

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

number.isnan Codemod

Introduction

This codemod replaces usages of the number.isnan function from the number library with the built-in Number.isNaN method. This transformation eliminates the dependency on the number library, reducing bundle size and improving the performance of the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.