ohmyfetch is a better fetch API. Works on node, browser and workers.
import { $fetch } from 'ohmyfetch'
Import it and use it as you’d use regular fetch
. On top of that, you can use some of the extra convenience methods and options — such as easy response parsing, JSON body, Auto Retry, … — this package provides.
ohmyfetch
— A better fetch API →
Published by Bramus!
Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)
View more posts