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

13.5.3 • 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

194,926

Version

13.5.3

License

Apache-2.0

Unpacked Size

19 kB

Total Files

24

Last publish

Collaborators

  • jacogr
  • polkadotjs