Files
common/packages/x-fetch
Jaco Greeff 3230663ae1 3.7 (#738)
* 3.7

* Update new rules

* RegExp

* formatBalance cleanups

* Revert

* Formatting

* fill

* format test fix

* cleanups

* Cleanups

* Expand bip39 tests

* Cleanups

* Cleanups
2020-11-01 14:44:14 +01:00
..
2020-11-01 14:44:14 +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();