/download-cache

Cache remote files locally by URL

Primary LanguageJavaScriptMIT LicenseMIT

download-cache

NPM version Build status Test coverage Dependency Status License Downloads

var download = require('download-cache');

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