@magic-libraries/http

0.0.3 • Public • Published

@magic-libraries/http

promisified XMLHttpRequest for @magic

html-docs

NPM version Linux Build Status Windows Build Status Coverage Status Greenkeeper badge Known Vulnerabilities

installation

npm install --save-exact @magic-libraries/http

usage

lib.http is an promisified http request, it expects a done and an error action as well as a url to point the request to.

see ExampleButton for a usage example

changelog

0.0.1

first release

0.0.2
  • add responseType and json handling
  • add requestType, json.stringify the request body if it is set
  • add timeoutSeconds and timeout handler function
0.0.3

update dependencies

0.0.4 - unreleased

...

Package Sidebar

Install

npm i @magic-libraries/http

Weekly Downloads

0

Version

0.0.3

License

AGPL-3.0

Unpacked Size

39 kB

Total Files

4

Last publish

Collaborators

  • jascha