async-file-dl
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

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.

/async-file-dl/

    Package Sidebar

    Install

    npm i async-file-dl

    Weekly Downloads

    1

    Version

    0.4.3

    License

    MIT

    Unpacked Size

    13.5 kB

    Total Files

    14

    Last publish

    Collaborators

    • openbyte