alexcaza / export-to-csv

Export a JS collection to CSV; written in TypeScript.
Other
207 stars 48 forks source link

How do I change name of the file on website? #76

Closed Arun-Tiwary closed 8 months ago

Arun-Tiwary commented 8 months ago

Describe the bug A clear and concise description of what the bug is. If possible, include the data you're trying to export as a CSV (with any sensitive data removed; reduced test cases are welcomed).

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

alexcaza commented 8 months ago

I'm not sure I fully understand the question, but I think you want the filename option that's listed in the API section of the readme.

Link: https://github.com/alexcaza/export-to-csv?tab=readme-ov-file#api

If that doesn't answer your question, please open a new issue and add more details by following the template 😄