Registry
E

e18e/@e18e/math.log10

No description available

e18e29 executions

  • Legacy
  • e18e
  • module-replacement
Connect a repo
npx codemod @e18e/math.log10

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
import 'math.log10/polyfill';

const value = Math.log10(100);

After

javascript
const value = Math.log10(100);

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.