SOLUCIÓN PARA ERROR [ERR_REQUIRE_ESM]: require () del módulo ES

// mod.cjs
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
Pleasant Puma