Task: Export JavaScript Array Data to CSV on Client Side
Task: Export JavaScript Array Data to CSV on Client Side: a task in Terminal-Lego-15k (Harbor dataset). Create a JavaScript module that converts a 2D array of data into a CSV formatted file and triggers a download on the client side. The solution should handle common CSV edge cases such as fields…
The task
Create a JavaScript module that converts a 2D array of data into a CSV formatted file and triggers a download on the client side. The solution should handle common CSV edge cases such as fields containing commas, quotes, and newlines.
Part of PrimeIntellect/Terminal-Lego-15k.