retrieve
A convenience wrapper around fetch.
- Package: npmjs.com/package/retrieve
- Repository: github.com/kleinfreund/retrieve
Usage
Open the dev tools' console and try it yourself:
import { retrieve } from 'retrieve'
const { data } = await retrieve({
url: 'https://pokeapi.co/api/v2/pokemon',
})
Made with love by Philipp.