is-nan Codemod
Introduction
This codemod replaces the usage of the is-nan npm package with the built-in Number.isNaN method. By eliminating the import of the is-nan package, it helps to reduce bundle size and improve performance, making the codebase cleaner and more efficient.
Before
javascript
After
javascript