Files
common/packages/x-fetch
2026-03-16 18:24:20 +00:00
..
2026-03-16 18:24:20 +00:00
2026-03-16 20:19:11 +02: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();