0.0.15 • Published 5 years ago

@dot-event/fetch v0.0.15

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@dot-event/fetch

dot-event universal HTTP fetch

supernova

Install

npm install dot-event @dot-event/fetch

Universal

This library works both server and client side.

Setup

const dot = require("dot-event")()
require("@dot-event/fetch")(dot)

Usage

const { body, ok, status } = await dot.fetch({
  url: "https://google.com",
})

Options

OptionDescription
jsonParse response body
storeSave response body to store
urlRequest URL

Credit

This library uses isomorphic-unfetch under the hood.

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago