npm.io
2.10.1 • Published 4 years ago

@leaf-x/fetch

Licence
MIT
Version
2.10.1
Deps
2
Size
20 kB
Vulns
0
Weekly
0

Fetch

Provide some utility wrappers for fetch.

Installation

npm install @leaf-x/fetch --save

Use

import fetch from '@leaf-x/fetch';

await fetch('https://www.leaf-x.com').then(result => {
  console.info(result);
});