Hacker News new | ask | show | jobs
by spankalee 1689 days ago
Were you not able to convert the script to a module, or dynamically import() node-fetch?

Since you're using it for an async operation anyway, dynamic import should have worked quite well.