Options
All
  • Public
  • Public/Protected
  • All
Menu

async-file-dl

async-file-dl

Build Status npm version Maintainability Dependency Status DevDependency Status License Doge

A simple asynchronous file downloader based on axios.

Installation

$ npm install async-file-dl

Usage

const { download } = require('async-file-dl');

download('http://example.com/', '.', 'example.html')
  .then(file => console.log('download successful')
  .catch(console.error);

API

The API generated with TypeDoc can be found here.

Generated using TypeDoc