|
|
|
|
|
by devmunchies
1684 days ago
|
|
> loathe how major packages in the ecosystem are "We're ESM now, deal with it, sorry about your luck," and forcing the issue I wasn’t able to use the latest version of node-fetch in a node.js script since it doesn’t support commonjs. The project literally has “node” in the name and doesn’t support default node.js. |
|
Since you're using it for an async operation anyway, dynamic import should have worked quite well.