This package has been deprecated

Author message:

Package moved to @sibipro/ask, please use that package instead. This package will no longer be updated.

@tech_sibi/ask

1.0.3 • Public • Published

ASK

A simple wrapper for node-fetch

View on NPM

Usage

Add it to your repo.

$ npm add @tech_sibi/ask

Require ask at the top of you node.js file.

const ask = require('@tech_sibi/ask');

Making a GET request.

async function makeRequest() {
    return await ask("http://google.com");
}

Making a POST request.

async function makeRequest(headers) {
    return await ask("http://google.com", { method: "POST", headers, responseType: "json" });
}

Readme

Keywords

none

Package Sidebar

Install

npm i @tech_sibi/ask

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

4.82 kB

Total Files

7

Last publish

Collaborators

  • codegumi
  • techsibi
  • asteinheiser
  • w33ble
  • bit-cmdr
  • tj.newell