Deno Remove Node:Process Import

/icons/calendar.svg

Last update

Dec 1, 2024

This codemod removes redundant import process from 'node:process'; statements, as process is now globally available in Deno v2

Before

import process from "node:process";
console.log(process.env.NODE_ENV);

After

console.log(process.env.NODE_ENV);

Build custom codemods

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

background illustrationGet Started Now