New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

qordova-http

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qordova-http

Q-enabled HTTP interface for Cordova

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

qordova-http

A Q-enabled HTTP for Cordova. Easier to use than cordova-plugin-file-transfer.

Installation

cordova plugin add cordova-plugin-file-transfer

npm install quordova-file

Usage

download(url, dst_fname)

Download a file to a destination file name.

// Note that we must wrap inside `deviceready` because it uses Cordova features.
document.addEventListener("deviceready", (function() {
  Http.download(url, dst\_fname)
  .then(function() {
    console.log('file downloaded');
  })
  .fail(function(HttpError) {
    console.log('file could not be downloaded');
  });
});

FAQs

Package last updated on 28 Dec 2015

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