1.0.0 • Published 1 year ago
@witzbould/utils-fetch-helper v1.0.0
FetchHelper
Collection of helper functions for fetch
responseExtractContent
Extract the content of a Response from fetch-like request, based on the Content-Type
header.\
It handles the content types application/json and text/*. Other content types are probably files and will thereby be returned as Blob.
1.0.0
1 year ago