0.0.3 • Published 2 years ago

@magic-libraries/http v0.0.3

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
2 years ago

@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

...