@polkadot/x-fetch
v7.8.3-19@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();
npm i @polkadot/[email protected]
Metadata
- Apache-2.0
- >=14.0.0
- Jaco Greeff
- released 11/15/2021