@bitbrother/fetch-dog

React app http agent

Usage no npm install needed!

<script type="module">
  import bitbrotherFetchDog from 'https://cdn.skypack.dev/@bitbrother/fetch-dog';
</script>

README

fetch-dog logo

FETCH-DOG

React app http agent

version <ORG_NAME> NPM JavaScript Style Guide

Install

npm install --save @vladblindu/fetch-dog
#or
yarn add @vladblindu/fetch-dog

Usage

Create a http-agent file in the ./src folder with the following content

import React from 'react
import fetchDog from 'fetch-dog'
import httpConfig from './config/http-agent.config.json'

const useHttpAgent = fetchDog

License

MIT © vladblindu