JavaScript – Creating A Downloadable File in the Browser Published by Chris West on October 21, 2014 Let’s say that you have an array of arrays that is dynamically generated and you would like to provide a download link/button to download it as a CSV. How would you go about doing it? Ordinarily you would go about sending the data to the server which would then be able to make a downloadable versio