# @lyo/fetch

A browser-compatible version of [fetch](https://www.npmjs.com/package/fetch) built automatically with [Lyo](https://github.com/bokub/lyo).

[![Version](https://flat.badgen.net/npm/v/@lyo/fetch)](https://www.npmjs.com/package/@lyo/fetch)
[![Build](https://bokub.github.io/lyo/badge-flat.svg)](https://www.npmjs.com/package/@lyo/fetch)
[![Hits](https://data.jsdelivr.com/v1/package/npm/@lyo/fetch/badge)](https://www.jsdelivr.com/package/npm/@lyo/fetch)

## Usage

#### In a browser
```html
<script src="https://cdn.jsdelivr.net/npm/@lyo/fetch"></script>

<script>
  fetch.FetchStream(foo, bar);
  fetch.CookieJar(foo);
  fetch.fetchUrl(foo, bar, baz);
</script>
```

#### In Node.js

```sh
# Install
npm i @lyo/fetch
```

```js
const fetch = require('@lyo/fetch')

fetch.FetchStream(foo, bar);
fetch.CookieJar(foo);
fetch.fetchUrl(foo, bar, baz);
```

## Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk