Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@magic-libraries/http

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic-libraries/http

http request effect for @magic.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

@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

...

Keywords

magic

FAQs

Package last updated on 02 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts