switched to guider

This commit is contained in:
mohitbkl
2024-04-15 12:07:48 +03:00
parent 89a78e4ae9
commit bd65ca0a9f
69 changed files with 2947 additions and 7912 deletions

View File

@@ -0,0 +1,20 @@
# `makeStandardFetcher`
Make a fetcher from a `fetch()` API. It is used for making an instance of provider controls.
## Example
```ts
import { targets, makeProviders, makeDefaultFetcher } from '@movie-web/providers';
const providers = makeProviders({
fetcher: makeStandardFetcher(fetch),
target: targets.ANY,
});
```
## Type
```ts
function makeStandardFetcher(fetchApi: typeof fetch): Fetcher;
```