kwhitley / itty-fetcher

An even simpler wrapper around native Fetch to strip boilerplate from your fetching code!
MIT License
99 stars 4 forks source link

Support passing in your own fetch instance #12

Closed danawoodman closed 2 years ago

danawoodman commented 2 years ago

In instances where you need to use another fetch instance, say in a SvelteKit load function or perhaps where your environment doesn't have a built in fetch instance, we should allow passing in a custom fetch instance.