node-fetch-cache icon indicating copy to clipboard operation
node-fetch-cache copied to clipboard

Support passing in a fetch object?

Open broksonic21 opened this issue 2 years ago • 1 comments

Been using node-fetch-cache and big fan, but a few pieces of feedback. I'll file them as separate PRs from what we've run into. Thanks for consideration!

It would be nice to be able to pass in a fetch object to use vs the hard-coded fetch.

that would allow using something like https://www.npmjs.com/package/fetch-retry underneath and caching the final results.

broksonic21 avatar Oct 12 '23 13:10 broksonic21

Hi, thanks for the feedback! I agree that this would be a nice addition.

mistval avatar Oct 14 '23 12:10 mistval