Skip to content

idtareq/axios-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axiosdownload-plugin

Axios plugin to make it easy to download files with resume download support.

Installation

npm i axiosdownload-plugin

Usage

const axios = require("axios");
const axiosDownload = require("axiosdownload-plugin");

axiosDownload(axios);
const url = "https://nodejs.org/dist/v18.16.0/node-v18.16.0-x64.msi";
axios.download(url, "./download/path", {}, { showProgress: true, resumeDownload: true });

Releases

No releases published

Packages

No packages published