ibrod83 / nodejs-file-downloader

130 stars 23 forks source link

Get downloaded filepath #36

Closed j-d-carmichael closed 2 years ago

j-d-carmichael commented 2 years ago

Would be great if the response from the promise was an object with the downloaded to filepath

https://github.com/ibrod83/nodejs-file-downloader/blob/master/Downloader.td.ts#L30

ibrod83 commented 2 years ago

i'll look into it

DudoMan commented 2 years ago

I support

cdking007 commented 2 years ago

it will great if it return the downloaded file object once download finish

ibrod83 commented 2 years ago

was added in version 4.10.0. const {filePath} = await downloader.download()