A easier-to-use 'node-fetch'. The package features a parsed HTTP(s) response and an error-checking mechanism that node-fetch
doesn't have.
run npm i ts-node-fetcher
, then you are good to go.
use import fetcher from 'ts-node-fetcher'
to use the fetcher
function