Files
common/packages/x-fetch/README.md
T
Jaco Greeff 0f05954dc5 Move @polkadot/x-{fetch,textdecoder,textencoder,ws} (#737)
* Move @polkadot/x-{fetch,textdecoder,textencoder,ws}

* Adjust copyrights

* Fix jest aliassing

* tsconfig resolution
2020-10-29 21:28:22 +01:00

14 lines
252 B
Markdown

# @polkadot/x-fetch
A cross-environment fetch.
Install it via `yarn add @polkadot/x-fetch`
```js
import fetch from '@polkadot/x-fetch';
...
const response = await fetch('https://example.com/something.json');
const json = await response.json();
```