download icon indicating copy to clipboard operation
download copied to clipboard

Download and extract files

Results 65 download issues
Sort by recently updated
recently updated
newest added

Gitlab Internal privileged project, not downloadable

* Replace `url.parse` for URL contructor. * Fix test for 404 error. * Substitute usage of `fs` module for `fs-extra`. This will allow to use async methods without importing Promisify...

After adding and importing package via npm, I'm geting error > TypeError: fs.statSync is not a function What's missing here?

Hi, When I required("download") in AWS Lambda, my lambda function stop working. I have no error. Did someone ever test it in AWS Lambda functions. Thank you.

gutil.File => https://www.npmjs.com/package/vinyl gutil.replaceExtension => The .extname property on Vinyl objects or https://www.npmjs.com/package/replace-ext gutil.colors => https://www.npmjs.com/package/ansi-colors gutil.date => https://www.npmjs.com/package/date-format gutil.log => https://www.npmjs.com/package/fancy-log gutil.template => https://www.npmjs.com/package/lodash.template gutil.env => https://www.npmjs.com/package/minimist gutil.beep =>...

This allows for usage of things such as basic auth, and other features that node's built-in url library support that `got` expects. Confirmed that it no longer threw the error...

Is it possible to get the filename of the downloaded file without defining it previously?

Setup: ```js const download = require('download'); Promise.all( [ 'https://raw.githubusercontent.com/ahmadawais/WPGulp/v2.0.0/src/.editorconfig', 'https://raw.githubusercontent.com/ahmadawais/WPGulp/v2.0.0/src/.eslintignore', 'https://raw.githubusercontent.com/ahmadawais/WPGulp/v2.0.0/src/.eslintrc.js', 'https://raw.githubusercontent.com/ahmadawais/WPGulp/v2.0.0/src/.gitignore', 'https://raw.githubusercontent.com/ahmadawais/WPGulp/v2.0.0/src/gulpfile.babel.js', 'https://raw.githubusercontent.com/ahmadawais/WPGulp/v2.0.0/src/package.json', 'https://raw.githubusercontent.com/ahmadawais/WPGulp/v2.0.0/src/wpgulp.config.js' ].map(x => download(x, 'demo')) ).then(() => { console.log('files downloaded!'); }); ``` All the dotfiles are...

Similar to https://github.com/sindresorhus/electron-dl#use-it-manually plz consider returning ```outputFilepath``` as it saves user extra lines of file to get outputfile This is also important when using ```Promise.all``` where one may want to...

use decodeURIComponent filename first, then filenamify it, keep extension