2026-04-09 09:45 UTC
@sindresorhus
Have considered also providing
```
const apiFetch = pipeline(
fetch,
withTimeout(5000),
withBaseUrl('https://api.example.com'),
withHeaders({Authorization: 'Bearer token'}),
withHttpError,
withJsonResponse,
);
```
?
Replies (0)
No replies.