icefoganalytics / travel-authorization

0 stars 0 forks source link

Upgrade or Replace `export-to-csv` Library To Get Better File Naming #198

Open klondikemarlen opened 2 weeks ago

klondikemarlen commented 2 weeks ago

Relates to:

Context

Is your feature request related to a problem? Please describe. When I wrote a CSV and set the file name with the export-to-csv library it took Travel Requests, Pre-Approved, ${currentDate} and turned it into this Travel_Requests,_Pre-Approved,_2024-06-17.

This is pretty hard to read, and underscores are unnecessary in modern operating systems.

Describe the solution you'd like I want a CSV library that supports a more modern file naming convention.

Describe alternatives you've considered Leave as is, or replace with an alternate library.

Additional context This project is currently using export-to-csv at v0.2.1 and the current version is v1.3.0. The interface of the library changes drastically on upgrade to v1. Some current alternatives are https://npmtrends.com/csv-writer-vs-export-to-csv-vs-fast-csv-vs-papaparse