Registry
E

e18e/@e18e/number.prototype.toexponential

No description available

e18e32 executions

  • Legacy
  • e18e
  • module-replacement
Connect a repo
npx codemod @e18e/number.prototype.toexponential

number.prototype.toexponential Codemod

Introduction

This codemod removes the import statement for number.prototype.toexponential, which is an unnecessary dependency in the codebase. By utilizing built-in JavaScript functionalities instead, this codemod helps to decrease bundle size and improve code performance.

Before

javascript
import 'number.prototype.toexponential';

const num = 5;
const expNum = num.toExponential(2);

After

javascript
const num = 5;
const expNum = num.toExponential(2);

Ready to evolve your codebase?

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