MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/node/comments/shvvy8/fetch_api_has_landed_into_nodejs/hv7cd9n/?context=3
r/node • u/RecognitionDecent266 • Feb 01 '22
31 comments sorted by
View all comments
62
Now we can finally ditch node-fetch, which I've wanted to do ever since it switched to ESM.
13 u/Solonotix Feb 01 '22 Isn't ESM the "way forward" for Node.js? I've seen tons of posts a out how TypeScript allows use of modules, and that's always seen as a good thing, but then discussion of ESM always seems to be met with disdain. 4 u/Zipdox Feb 01 '22 I don't care if it's "the way forward". My program uses CommonJS and now it's broken because it suddenly changed. 6 u/MatthewMob Feb 01 '22 Moduloze or 5to6.Also your problem will only get worse as time goes on, it's worth it to take the pain to upgrade now to save yourself tomorrow.
13
Isn't ESM the "way forward" for Node.js? I've seen tons of posts a out how TypeScript allows use of modules, and that's always seen as a good thing, but then discussion of ESM always seems to be met with disdain.
4 u/Zipdox Feb 01 '22 I don't care if it's "the way forward". My program uses CommonJS and now it's broken because it suddenly changed. 6 u/MatthewMob Feb 01 '22 Moduloze or 5to6.Also your problem will only get worse as time goes on, it's worth it to take the pain to upgrade now to save yourself tomorrow.
4
I don't care if it's "the way forward". My program uses CommonJS and now it's broken because it suddenly changed.
6 u/MatthewMob Feb 01 '22 Moduloze or 5to6.Also your problem will only get worse as time goes on, it's worth it to take the pain to upgrade now to save yourself tomorrow.
6
Moduloze or 5to6.
Also your problem will only get worse as time goes on, it's worth it to take the pain to upgrade now to save yourself tomorrow.
62
u/Zipdox Feb 01 '22
Now we can finally ditch node-fetch, which I've wanted to do ever since it switched to ESM.