Skip to main content
Module

x/polkadot/x-fetch/README.md

Package publishing for deno.land/x/polkadot
Go to Latest
File

@polkadot/x-fetch

A cross-environment fetch.

Install it via yarn add @polkadot/x-fetch

import { fetch } from 'https://deno.land/x/polkadot@0.2.40/x-fetch/mod.ts';

...
const response = await fetch('https://example.com/something.json');
const json = await response.json();