download - Download and extract files

  •        13

See download-cli for the command-line version.Returns both a Promise and a Duplex stream with additional events.

https://github.com/kevva/download

Dependencies:

caw : ^2.0.0
content-disposition : ^0.5.2
decompress : ^4.0.0
ext-name : ^5.0.0
file-type : 5.2.0
filenamify : ^2.0.0
get-stream : ^3.0.0
got : ^7.0.0
make-dir : ^1.0.0
p-event : ^1.0.0
pify : ^3.0.0

Tags
Implementation
License
Platform

   




Related Projects

httpinvoke - A no-dependencies HTTP client library for browsers and Node

  •    Javascript

A no-dependencies HTTP client library for browsers and Node.js with a promise-based or Node.js-style callback-based API to progress events, text and binary file upload and download, partial response body, request and response headers, status code. Any one, two or three arguments can be skipped, except the url.

drive-zipextractor - Extract (decompress) ZIP files into Google Drive using the Google Drive API

  •    Javascript

Extract (decompress) ZIP files into Google Drive using the Google Drive API. This app is deployed at: http://zip-extractor.appspot.com/. Download the extension in the Chrome Web Store.

request-promise - The simplified HTTP request client 'request' with Promise support

  •    Javascript

The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.Request and Bluebird are pretty awesome, but I found myself using the same design pattern. Request-Promise adds a Bluebird-powered .then(...) method to Request call objects. By default, http response codes other than 2xx will cause the promise to be rejected. This can be overwritten by setting options.simple = false.

request-promise-native - The simplified HTTP request client 'request' with Promise support

  •    Javascript

This package is similar to request-promise but uses native ES6 promises.request is defined as a peer-dependency and thus has to be installed separately.

php-restclient - A generic REST API client for PHP

  •    PHP

headers - An associative array of HTTP headers and values to be included in every request. parameters - An associative array of URL or body parameters to be included in every request. curl_options - cURL options to apply to every request; anything defined here: https://secure.php.net/manual/en/function.curl-setopt.php. These will override any automatically generated values. build_indexed_queries (bool) - http_build_query automatically adds an array index to repeated parameters which is not desirable on most systems. Use this option to enable the default behavior. Defaults to FALSE. user_agent - User agent string to use in requests. base_url - URL to use for the base of each request. format - Format string is appended to resource on request (extension), and used to determine which decoder to use on response; a request URL like "api.twitter.com/1.1/statuses/user_timeline.json" would be expected to return well-formed JSON. format_regex - Pattern to extract format from response Content-Type header, used to determine which decoder to use on response. decoders - Associative array of format decoders. See "Direct Iteration and Response Decoding". username - Username to use for HTTP basic authentication. Requires password. password - Password to use for HTTP basic authentication. Requires username. url (string) - URL of the resource you are requesting. Will be prepended with the value of the base_url option, if it has been configured. Will be appended with the value of the format option, if it has been configured.


promise-fun - Promise packages, patterns, chat, and tutorials

  •    

I intend to use this space to document my promise modules, useful promise patterns, and how to solve common problems. For now though, you can see all my promise modules below.Star this repo to show your interest, so I can know whether to prioritize this work.

pdfx - Extract references (pdf, url, doi, arxiv) and metadata from a PDF; optionally download all referenced PDFs

  •    Python

Extract references (pdf, url, doi, arxiv) and metadata from a PDF. Optionally download all referenced PDFs and check for broken links. You can use the -v flag to output all references instead of just the PDFs.

angular-busy - Show busy/loading indicators on any element during $http requests (or any promise).

  •    CSS

Show busy/loading indicators on any $http or $resource request, or on any promise.Install with Bower, npm, yarn, or download the files directly from the dist folder in the repo.

axios - Promise based HTTP client for the browser and node.js

  •    Javascript

NOTE: async/await is part of ECMAScript 2017 and is not supported in Internet Explorer and older browsers, so use with caution.

p-progress - Create a promise that reports progress

  •    Javascript

Useful for reporting progress to the user during long-running async operations.Same as the Promise constructor, but with an appended progress parameter in executor.

check-links - Robustly checks an array of URLs for liveness. Extremely fast ⚡

  •    Javascript

Robustly checks an array of URLs for liveness. For each URL, it first attempts an HTTP HEAD request, and if that fails it will attempt an HTTP GET request, retrying several times by default with exponential falloff.

fu - Cross-platform(win/mac/linux) app that allows user to upload images/files in Clipboard to a remote server in exchange for corresponding url with one simple click

  •    C++

Go to releases page download archive according to your OS. download the .7z file from releases page. extract to whereever you want.

wretch - A tiny wrapper built around fetch with an intuitive syntax. :candy:

  •    TypeScript

Wretch is compatible with modern browsers out of the box. For older environments without fetch support, you should get a polyfill.

cors-anywhere - CORS Anywhere is a NodeJS reverse proxy which adds CORS headers to the proxied request

  •    Javascript

CORS Anywhere is a NodeJS proxy which adds CORS headers to the proxied request. The url to proxy is literally taken from the path, validated and proxied. The protocol part of the proxied URI is optional, and defaults to "http". If port 443 is specified, the protocol defaults to "https".

unirest-nodejs - Unirest in Node.js: Simplified, lightweight HTTP client library.

  •    Javascript

Unirest is a set of lightweight HTTP libraries available in multiple languages, built and maintained by Mashape, who also maintain the open-source API Gateway Kong. A request can be initiated by invoking the appropriate method on the unirest object, then calling .end() to send the request. Alternatively you can send the request directly by providing a callback along with the url.

go-getter - Package for downloading things from a string URL using a variety of protocols.

  •    Go

go-getter is a library for Go (golang) for downloading files or directories from various sources using a URL as the primary form of input.The power of this library is being flexible in being able to download from a number of different sources (file paths, Git, HTTP, Mercurial, etc.) using a single string as input. This removes the burden of knowing how to download from a variety of sources from the implementer.

redux-promise-middleware - Enables simple, yet robust handling of async action creators in Redux

  •    Javascript

Redux Promise Middleware enables simple, yet robust handling of async action creators in Redux. Given a single action with an async payload, the middleware transforms the action to a separate a pending action and a separate fulfilled/rejected action, representing the states of the async action.

Download machine

  •    Java

Download Machine is pure Java daemon that watches queue files for changes. If a new entry is available, DM will download it. Queue files are just URL lists. DM supports resume for FTP, FSP and HTTP downloads.

vow - ES6-compatible and Promises/A+ implementation for Node.js and browsers

  •    Javascript

Vow is a Promises/A+ implementation. It also supports ES6 Promises specification. Full API reference can be found at http://dfilatov.github.io/vow/.