parseint Codemod
Introduction
This codemod replaces instances of the parseint
function with the built-in parseInt
function. This transformation helps to standardize the usage of JavaScript's built-in features, reducing unnecessary custom definitions and improving code clarity.
Before
import { parseint } from 'some-module';const number = parseint('123');
After
const number = parseInt('123');
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community