@tg-resources/fetch-runtime

4.0.0 • Public • Published

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.

Note: You do not need to install this if you are targeting only modern browsers with native support for fetch or when using node 18 and above.

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

Package Sidebar

Install

npm i @tg-resources/fetch-runtime

Weekly Downloads

185

Version

4.0.0

License

MIT

Unpacked Size

3.71 kB

Total Files

4

Last publish

Collaborators

  • thorgate-main
  • jyrno42
  • metsavaht