Files
common/packages/x-fetch
Jaco d0fd445c06 Bump deps (#1664)
* Bump deps

* Bump deps
2022-10-14 09:57:35 +03:00
..
2022-10-07 06:48:06 +00:00
2022-10-14 09:57:35 +03: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();