Prompt a csv file to download as pop up using node.js and node-csv-parser (node module)
Recently I have started working with node.js. While going through a requirement in one of my projects I am facing an issue where I should be able to write some data to a csv file dynamically and let it prompt as a popup to download for user (with save and cancel options - as we normally see). After googling for some time I decided to use csv npm module https://github.com/wdavidw/node-csv-parser . I am able to write data into a file and save it using this module. I want to prompt a popup for saving this file with/without saving the file. my code looks something like this: // Sample Data var