download-cache var download = require('download-cache'); download('https://archive.org/download/Windows7WildlifeSampleVideo/Wildlife_512kb.mp4').then(function (filename) { fs.stat(filename);});