@tg-resources/fetch-runtime

Fetch polyfill helper for `tg-resources`

Usage no npm install needed!

<script type="module">
  import tgResourcesFetchRuntime from 'https://cdn.skypack.dev/@tg-resources/fetch-runtime';
</script>

README

TG-Resources Fetch runtime

This package contains polyfill's for fetch, Response, Request and FormData to be used with tg-resources-fetch. Main idea behind this package is to provide fetch and friends to make them usable in environments where none exist.

Installing

Using NPM

npm i @tg-resources/fetch-runtime

Or using Yarn

yarn add @tg-resources/fetch-runtime

Usage

// Import this at top of your application
import '@tg-resources/fetch-runtime'

License

MIT © Thorgate