# fast-bird-download **Repository Path**: neequ_admin/fast-bird-download ## Basic Information - **Project Name**: fast-bird-download - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-07 - **Last Updated**: 2021-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # nodejs-download nodejs download module, support multi-threaded segmented download, breakpoint renewal. Usage ----- > download(urlList, dir[, headers, retryCount]) Example: ```js const download = require('./src/download') download([ 'http://172.31.1.235:3001/file_1.zip', 'http://172.31.1.235:3001/file_2.exe', 'http://172.31.1.235:3001/file_3.exe' ], './download').then(successList => { console.log('download success: ', successList) }) ``` Arguments ----- ### urlList[Array] Array of files to download ### dir[String] Download directory, Default value: './download' ### headers[Object] Header information of network request ### retryCount[Number] Number of retries after download failure