E

e18e/@e18e/math.imul

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

Math Imul Codemod

Introduction

This codemod replaces instances of the math.imul/polyfill module with the built-in Math.imul() function. By utilizing native capabilities instead of a polyfill, this codemod helps to reduce unnecessary dependencies and improve both the performance and the bundle size of the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.