Files
common/packages/x-fetch
Jaco 28c6139068 Bump deps (#1745)
* Bump deps

* Bump dev
2023-02-22 09:13:21 +02:00
..
2023-02-20 15:42:30 +00:00
2023-02-22 09:13:21 +02:00

@polkadot/x-fetch

A cross-environment fetch.

Install it via yarn add @polkadot/x-fetch

import { fetch } from '@polkadot/x-fetch';

...
const response = await fetch('https://example.com/something.json');
const json = await response.json();