@polkadot/x-fetch
TypeScript icon, indicating that this package has built-in type declarations

12.6.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @polkadot/x-fetch

Weekly Downloads

78,774

Version

12.6.2

License

Apache-2.0

Unpacked Size

16.8 kB

Total Files

19

Last publish

Collaborators

  • polkadotjs
  • jacogr