* Remove polyfills * CHANGELOG * jestConfig * Adjust jest * Revert explicit overrides (from base) * Fix dev * 4.0.0 * Bump wasm-crypto * min/max duplication * Split tests, update dev * startChar * validate params * complexity? * secp256k1Verify options * sign Options * hasher extraction
@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();