Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 288 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 288 Bytes

@polkadot/x-fetch

A cross-environment fetch.

Install it via yarn add @polkadot/x-fetch

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

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