Pretty CSV

Utility for converting CSV and TSV data to evenly spaced text. Great if you need to include some DB results and want to have it formatted. For example, we can convert the following:

dateCreated,permalink,title,isDateShown
2024-12-22 07:37:00,,Timings using leau as a 16-bit loop counter,1
2025-01-03 23:11:00,,Mnemonics,1
2016-03-28 00:50:51,optimizesprite,Optimizing an Imaginary Sprite,1

To this:

dateCreated            permalink          title                                          isDateShown
2024-12-22 07:37:00                       Timings using leau as a 16-bit loop counter    1
2025-01-03 23:11:00                       Mnemonics                                      1
2016-03-28 00:50:51    optimizesprite     Optimizing an Imaginary Sprite                 1

CSV and TSV Formatter

Paste tab-separated or comma-separated values, choose the output options, then format into evenly spaced text.

Output Options
Heading Format

I had initially created a Java version and packaged it as an EXE, but I was curious if ChatGPT could create a JavaScript version, as this was my first time using ChatGPT to help with code creation. Seems to have worked rather nicely.