mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 17:53:24 +00:00
Update .docs/content/1.Guide/2.fetchers.md
Co-authored-by: William Oldham <github@binaryoverload.co.uk>
This commit is contained in:
@@ -4,7 +4,7 @@ When making an instance of the library using `makeProviders()`. It will immediat
|
|||||||
This comes with some considerations depending on the environment youre running.
|
This comes with some considerations depending on the environment youre running.
|
||||||
|
|
||||||
## Using `fetch()`
|
## Using `fetch()`
|
||||||
In most cases, you can use the `fetch()` API. This will work in newer versions of node (18 and above) and on the browser.
|
In most cases, you can use the `fetch()` API. This will work in newer versions of Node.js (18 and above) and on the browser.
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
const fetcher = makeDefaultFetcher(fetch);
|
const fetcher = makeDefaultFetcher(fetch);
|
||||||
|
Reference in New Issue
Block a user