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:
@@ -10,7 +10,7 @@ In most cases, you can use the `fetch()` API. This will work in newer versions o
|
|||||||
const fetcher = makeDefaultFetcher(fetch);
|
const fetcher = makeDefaultFetcher(fetch);
|
||||||
```
|
```
|
||||||
|
|
||||||
If you using older version of nodejs. You can use the npm package `node-fetch` to polyfill fetch:
|
If you using older version of Node.js. You can use the npm package `node-fetch` to polyfill fetch:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import fetch from "node-fetch";
|
import fetch from "node-fetch";
|
||||||
|
Reference in New Issue
Block a user