Files
common/packages/x-fetch
Jaco Greeff 06057da172 4.2 (#778)
* 4.2

* dedupe
2020-11-23 12:49:57 +01:00
..
2020-11-23 12:49:57 +01: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();