Skip to content

Latest commit

 

History

History

fetch-runtime

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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