Fexios
Fetch based HTTP client with similar API to axios for browser and Node.js
Installation
Using package manager
npm install fexios
pnpm add fexios
yarn add fexios
Then import the library and enjoy:
import fexios, { createFexios, Fexios } from 'fexios'
fexios.get('https://zh.moegirl.org.cn')
const fexios = createFexios()
const fexios = new Fexios()
const fexios = Fexios.create()
In browser
import('https://unpkg.com/fexios?module').then(({ createFexios }) => {
const fexios = createFexios()
})
<script src=""></script>
<script>
fexios.get('https://zh.moegirl.org.cn')
const { createFexios } = Fexios
const fexios = createFexios()
</script>