1.1.3 • Published 5 years ago

jakexios v1.1.3

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

jakexios

How to install:

npm: npm i jakexios

How to import

import in browser: import Jakexios from 'jakexios';

Make a GET request with:

let resultJson = await Jakexios.get(url, headers);

this returns the JSON of the request. url the url to make a request to. headers param is optional.

Make a POST request using:

let resultJson = await Jakexios.post(url, body, headers);

this returns the JSON of the request. url the url to make a request to. headers param is optional. body should be an object (not stringified).

Make a DELETE request using:

let resultJson = await Jakexios.delete(url, headers);

this returns the JSON of the request. url the url to make a request to. headers param is optional.

Get a page's HTML using:

let html = await Jakexios.getHtml(url, headers);

this returns the HTML as a string. url the url to make a request to. headers param is optional.

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago