yep, fetch in nodejs is kinda new as a native thing. if you’re on node <18, you gotta install node-fetch (or undici, which is what node’s fetch actually uses under the hood).
pro tip: if you’re using ESM, make sure to import it right—`import fetch from 'node-fetch'` vs require() can trip you up.
axios is more stable for older projects, but fetch is fine if you’re up-to-date!
pro tip: if you’re using ESM, make sure to import it right—`import fetch from 'node-fetch'` vs require() can trip you up.
axios is more stable for older projects, but fetch is fine if you’re up-to-date!
