Financial-Times / ft-poller

Scheduled, asynchronous JSON fetching for Node.js applications
12 stars 5 forks source link

This module is polyfill-ing fetch across node apps #28

Open seanmtracey opened 8 years ago

seanmtracey commented 8 years ago

isomorphic-fetch polyfills fetch. If we were to use node-fetch instead, this wouldn't be the case.

wheresrhys commented 7 years ago

Probably needs to do something like

const localFetch = require('node-fetch');

// when polling
const fetchFunction = global.fetch || localFetch
wheresrhys commented 1 year ago

@joelcarr is this on your radar for node 18 upgrades?