E

e18e/@e18e/math.log10

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 Log10 Codemod

Introduction

This codemod transforms instances of Math.log10 using a polyfill math.log10/polyfill. It streamlines the usage of logarithmic functions by replacing the polyfill with native Math.log10, thereby reducing the unnecessary dependency on the polyfill.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.