@reef-defi/x-fetch
A cross-environment fetch.
Install it via yarn add @reef-defi/x-fetch
import { fetch } from '@reef-defi/x-fetch';
...
const response = await fetch('https://example.com/something.json');
const json = await response.json();
A cross-environment fetch.
Install it via yarn add @reef-defi/x-fetch
import { fetch } from '@reef-defi/x-fetch';
...
const response = await fetch('https://example.com/something.json');
const json = await response.json();
npm i @reef-defi/x-fetch
1
7.8.2
Apache-2.0
5.31 kB
14