1.0.7 • Published 1 year ago

vegot v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

vegot

Promise-based, Lightweight, and Zero-Dependency Http Client

Installing

Using npm:

$ npm install vegot

Using yarn:

$ yarn add vegot

Importing

const vegot = require("vegot").default

or

import vegot from "vegot"

Examples

Send a GET request

vegot("https://httpbin.org/anything").then((res) => {
  console.log(res)
})

Send a POST request

vegot("https://httpbin.org/anything", { method: "POST" }).then((res) => {
  console.log(res)
})

License

The package is licensed under the MIT License

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago