@polkadot/x-fetch
v13.2.3
Published
A cross-environment fetch replacement
Downloads
341,660
Readme
@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();