Many web apps allow users to export data as CSV. This can be done using JavaScript on the browser. Papaparse is a nice package that prepares the CSV for us. This blog post has the code to show you how to do this.
Prepare CSV using Papaparse
The first step is to install Papaparse.
yarn add papaparse
Add an import statement at the top of your module.…