Comment

Comment by rco8786

You should lead with some deets about why you would use this vs just using `fetch` directly.

``` await fetchet('https://dummyjson.com/posts').then((response) => console.log(response)) ```

This is the first code sample and if I'm not mistaken you could s/fetchet/fetch and it would do the exact same thing?

parent rco8786 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton