Typescript/Remove Console

/icons/calendar.svg

Last update

Aug 1, 2024

This codemod removes all console statements from your TypeScript and JavaScript files

Example

Before

const greeting = "hello world!";
console.log("good morning y'all!");
const sayHi = () => {
console.error("oops!");
};

After

const greeting = "hello world!";
const sayHi = () => {};

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now