npm.io
1.1.0 • Published 8 years ago

@lyo/fetch

Licence
MIT
Version
1.1.0
Deps
0
Size
422 kB
Vulns
0
Weekly
0

@lyo/fetch

A browser-compatible version of fetch built automatically with Lyo.

Version Build Hits

Usage

In a browser

<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
# Install
npm i @lyo/fetch
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