Files
common/packages/x-fetch
github-actions[bot] 9281daa14c
Lock Threads / lock (push) Has been cancelled
[CI Skip] release/stable 14.0.3
skip-checks: true
2026-03-23 12:53:26 +00:00
..
2026-03-23 12:53:26 +00:00
2026-03-23 14:48:13 +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();