global default options and handlers
Abierto
possible-addon
- Lenguaje dominante
- JavaScript
- Estrellas
- 5.7k
- Forks
- 204
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Since fetch apis are used a lot in a typical web application, it would be nice to have a `unfetch.defaults` object that sets default parameters of all requests.
A use case would be to set base URL of all requests.
```
unfetch.defaults.baseURL = 'my-api-endpoint'
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.