@listener-js/http
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@listener-js/http

Listener universal http fetch

http

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)

Dependents (0)

Package Sidebar

Install

npm i @listener-js/http

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

10.2 kB

Total Files

10

Last publish

Collaborators

  • winton