Skip to content

Latest commit

 

History

History

x-fetch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@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();