const FileDownload = require('js-file-download'); Axios.get(`http://localhost/downloadFile`) .then((response) => { FileDownload(response.data, 7 Mar 2017 Axios is a Promise-based HTTP client for JavaScript. This downloads the library and installs it in the node_modules folder. a Content Delivery Network, e.g. by including the following