@listener-js/http
v0.3.0
Published
Listener universal http fetch
Downloads
3
Readme
@listener-js/http
Listener universal http fetch
Install
npm install @listener-js/listener @listener-js/http
Usage
import { listener } from "@listener-js/listener"
import { http } from "@listener-js/http"
listener({ http })
const url = "https://jsonplaceholder.typicode.com/todos/1"
const { body, ok, status, url } = await http.fetch([], url)