is-negative-zero Codemod
Introduction
This codemod replaces the usage of the is-negative-zero npm module with the native Object.is method. It optimizes the code by eliminating unnecessary dependencies, thereby reducing bundle size and improving performance. The transformation handles both logical expressions and direct calls to the is-negative-zero function.
Before
javascript
After
javascript